Skip to content

Commit

Permalink
fix "hide all notifications" bug
Browse files Browse the repository at this point in the history
closes #1541
  • Loading branch information
mifi committed Apr 5, 2023
1 parent efd87a6 commit f62fe6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Settings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ const Settings = memo(({
<Row>
<KeyCell>{t('Show informational notifications')}</KeyCell>
<td>
<Switch checked={!hideNotifications} onCheckedChange={(v) => setHideNotifications(v ? 'all' : undefined)} />
<Switch checked={!hideNotifications} onCheckedChange={(v) => setHideNotifications(v ? undefined : 'all')} />
</td>
</Row>

Expand Down

0 comments on commit f62fe6d

Please sign in to comment.