Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd37ae16 authored by cketti's avatar cketti
Browse files

Fixed setting names in SettingsUpgrader for version 12

parent 4028505d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -277,12 +277,12 @@ public class GlobalSettings {
            Boolean keyguardPrivacy = (Boolean) settings.get("keyguardPrivacy");
            if (keyguardPrivacy != null && keyguardPrivacy) {
                // current setting: only show subject when unlocked
                settings.put("hideSubjectMode", NotificationHideSubject.WHEN_LOCKED);
                settings.put("notificationHideSubjectMode", NotificationHideSubject.WHEN_LOCKED);
            } else {
                // always show subject [old default]
                settings.put("hideSubjectMode", NotificationHideSubject.NEVER);
                settings.put("notificationHideSubjectMode", NotificationHideSubject.NEVER);
            }
            return new HashSet<String>(Arrays.asList("hideSubjectMode"));
            return new HashSet<String>(Arrays.asList("keyguardPrivacy"));
        }
    }