We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0ad7ed commit 78f769cCopy full SHA for 78f769c
src/js/stores/settings.js
@@ -22,16 +22,19 @@ var SettingsStore = Reflux.createStore({
22
settings = JSON.parse(settings);
23
}
24
25
- if (!settings.participating) {
+ if (typeof settings.participating !== 'boolean') {
26
settings.participating = false;
27
28
- if (!settings.playSound) {
+
29
+ if (typeof settings.playSound !== 'boolean') {
30
settings.playSound = true;
31
- if (!settings.showNotifications) {
32
33
+ if (typeof settings.showNotifications !== 'boolean') {
34
settings.showNotifications = true;
35
- if (!settings.openAtStartup) {
36
37
+ if (typeof settings.openAtStartup !== 'boolean') {
38
settings.openAtStartup = false;
39
40
0 commit comments