summaryrefslogtreecommitdiff
path: root/src/web/app/common/mios.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app/common/mios.ts')
-rw-r--r--src/web/app/common/mios.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/web/app/common/mios.ts b/src/web/app/common/mios.ts
index bc83ec0bbb..c5f0d1d4dc 100644
--- a/src/web/app/common/mios.ts
+++ b/src/web/app/common/mios.ts
@@ -94,6 +94,13 @@ export default class MiOS extends EventEmitter {
return localStorage.getItem('debug') == 'true';
}
+ /**
+ * Whether enable sounds
+ */
+ public get isEnableSounds() {
+ return localStorage.getItem('enableSounds') == 'true';
+ }
+
public apis: API;
/**