mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-12 06:08:25 -05:00
Add missing global settings to settings export
This commit is contained in:
parent
152e0a0530
commit
6c172f94a1
@ -17,6 +17,7 @@ import com.fsck.k9.Account;
|
||||
import com.fsck.k9.FontSizes;
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.K9.NotificationHideSubject;
|
||||
import com.fsck.k9.K9.NotificationQuickDelete;
|
||||
import com.fsck.k9.K9.SplitViewMode;
|
||||
import com.fsck.k9.K9.Theme;
|
||||
import com.fsck.k9.R;
|
||||
@ -252,8 +253,19 @@ public class GlobalSettings {
|
||||
new V(32, new BooleanSetting(false))
|
||||
));
|
||||
s.put("lockScreenNotificationVisibility", Settings.versions(
|
||||
new V(37, new EnumSetting<LockScreenNotificationVisibility>(LockScreenNotificationVisibility.class, LockScreenNotificationVisibility.MESSAGE_COUNT))
|
||||
));
|
||||
new V(37, new EnumSetting<LockScreenNotificationVisibility>(LockScreenNotificationVisibility.class,
|
||||
LockScreenNotificationVisibility.MESSAGE_COUNT))
|
||||
));
|
||||
s.put("confirmDeleteFromNotification", Settings.versions(
|
||||
new V(38, new BooleanSetting(true))
|
||||
));
|
||||
s.put("messageListSenderAboveSubject", Settings.versions(
|
||||
new V(38, new BooleanSetting(false))
|
||||
));
|
||||
s.put("notificationQuickDelete", Settings.versions(
|
||||
new V(38, new EnumSetting<NotificationQuickDelete>(NotificationQuickDelete.class,
|
||||
NotificationQuickDelete.NEVER))
|
||||
));
|
||||
|
||||
SETTINGS = Collections.unmodifiableMap(s);
|
||||
|
||||
|
@ -35,7 +35,7 @@ public class Settings {
|
||||
*
|
||||
* @see SettingsExporter
|
||||
*/
|
||||
public static final int VERSION = 37;
|
||||
public static final int VERSION = 38;
|
||||
|
||||
public static Map<String, Object> validate(int version, Map<String,
|
||||
TreeMap<Integer, SettingsDescription>> settings,
|
||||
|
Loading…
Reference in New Issue
Block a user