Take account of new settings

This commit is contained in:
2021-04-11 14:02:17 +02:00
parent 4d05913819
commit b5a942bf0c
2 changed files with 27 additions and 4 deletions

View File

@ -36,6 +36,9 @@ class NotificationsSettings {
await SettingsInterface.setNotifications(newSettings);
// Apply new settings immediatly
NotificationsSong.enableSong = newSettings.allow_notifications_sound;
notify(tr("Successfully updated settings!"), "success")
} catch(e) {