Added an option to toggle auto-dismissal of notifications. (#673)

This commit is contained in:
Jas Singh
2024-12-30 01:23:52 -08:00
committed by GitHub
parent 2fbbdd7b41
commit d49a750bfd
4 changed files with 18 additions and 4 deletions

View File

@@ -49,10 +49,16 @@ export const NotificationSettings = (): JSX.Element => {
/>
<Option
opt={options.notifications.timeout}
title="Notification Timeout"
subtitle="Duration in ms the notification stays"
title="Popup Timeout"
subtitle="Duration in ms the notification popup stays visible"
type="number"
/>
<Option
opt={options.notifications.autoDismiss}
title="Automatically Dismiss"
subtitle="Notifications with a timeout will dismiss automatically."
type="boolean"
/>
<Option
opt={options.notifications.cache_actions}
title="Preserve Actions"