fix "hide all notifications" bug

closes #1541
pull/1546/head
Mikael Finstad 3 years ago
parent efd87a6f79
commit f62fe6d941
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -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>

Loading…
Cancel
Save