mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 08:33:00 -06:00
Fix potential error in handling keypadBeeps styles
This commit is contained in:
parent
27e9d9fdac
commit
46c1e4f82e
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue