Skip to content

The swiss army knife of lossless video/audio editing

fix "hide all notifications" bug

Mikael Finstadf62fe6d941c3
diff --git a/src/components/Settings.jsx b/src/components/Settings.jsx
index b6f1c5fb..2a57def3 100644
--- a/src/components/Settings.jsx
+++ b/src/components/Settings.jsx
@@ -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>