Skip to content

Commit

Permalink
invert check logic (#1710)
Browse files Browse the repository at this point in the history
  • Loading branch information
Willyfrog authored Aug 31, 2021
1 parent 7a0367a commit ff3c259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/components/SettingsPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,13 @@ export default class SettingsPage extends React.PureComponent {
key: 'notifications',
data: {
...this.state.notifications,
flashWindow: this.flashWindowRef.current.props.checked ? 2 : 0,
flashWindow: this.flashWindowRef.current.props.checked ? 0 : 2,
},
});
this.setState({
notifications: {
...this.state.notifications,
flashWindow: this.flashWindowRef.current.props.checked ? 2 : 0,
flashWindow: this.flashWindowRef.current.props.checked ? 0 : 2,
},
});
}
Expand Down

0 comments on commit ff3c259

Please sign in to comment.