[MM-37797] Re-added the check for flashing the window (#1696)

This commit is contained in:
Devin Binnie
2021-08-13 10:08:00 -04:00
committed by GitHub
parent 60c73d6d58
commit 52becc3467
2 changed files with 8 additions and 6 deletions

View File

@@ -239,13 +239,13 @@ export default class SettingsPage extends React.PureComponent<Record<string, nev
key: 'notifications',
data: {
...this.state.notifications,
flashWindow: this.flashWindowRef.current?.checked ? 0 : 2,
flashWindow: this.flashWindowRef.current?.checked ? 2 : 0,
},
});
this.setState({
notifications: {
...this.state.notifications,
flashWindow: this.flashWindowRef.current?.checked ? 0 : 2,
flashWindow: this.flashWindowRef.current?.checked ? 2 : 0,
},
});
}