Fix potential error in handling keypadBeeps styles

This commit is contained in:
Chrystian Huot 2020-08-23 07:55:53 -04:00
parent 27e9d9fdac
commit 46c1e4f82e

View file

@ -177,7 +177,7 @@ export class AppRdioScannerService implements OnDestroy {
const gn = context.createGain();
const seq = this.config.keypadBeeps[style];
const seq = this.config?.keypadBeeps[style] || [];
gn.gain.value = .1;