Fix logic bug when saving "disable notifications during quiet time"
@@ -41,7 +41,7 @@ class GeneralSettingsDataStore(
"messageview_return_to_list" -> K9.messageViewReturnToList()
"messageview_show_next" -> K9.messageViewShowNext()
"quiet_time_enabled" -> K9.getQuietTimeEnabled()
- "disable_notifications_during_quiet_time" -> K9.isNotificationDuringQuietTimeEnabled()
+ "disable_notifications_during_quiet_time" -> !K9.isNotificationDuringQuietTimeEnabled()
"privacy_hide_useragent" -> K9.hideUserAgent()
"privacy_hide_timezone" -> K9.hideTimeZone()
"privacy_hide_hostname_when_connecting" -> K9.hideHostnameWhenConnecting()
@@ -76,7 +76,7 @@ class GeneralSettingsDataStore(
"messageview_return_to_list" -> K9.setMessageViewReturnToList(value)
"messageview_show_next" -> K9.setMessageViewShowNext(value)
"quiet_time_enabled" -> K9.setQuietTimeEnabled(value)
- "disable_notifications_during_quiet_time" -> K9.setNotificationDuringQuietTimeEnabled(value)
+ "disable_notifications_during_quiet_time" -> K9.setNotificationDuringQuietTimeEnabled(!value)
"privacy_hide_useragent" -> K9.setHideUserAgent(value)
"privacy_hide_timezone" -> K9.setHideTimeZone(value)
"privacy_hide_hostname_when_connecting" -> K9.hideHostnameWhenConnecting()
