Change default to always show delete button in notifications
This commit is contained in:
parent
1ec1a379b2
commit
8786a2f63b
3 changed files with 5 additions and 4 deletions
|
@ -182,7 +182,7 @@ object K9 : EarlyInit {
|
|||
var notificationHideSubject = NotificationHideSubject.NEVER
|
||||
|
||||
@JvmStatic
|
||||
var notificationQuickDeleteBehaviour = NotificationQuickDelete.NEVER
|
||||
var notificationQuickDeleteBehaviour = NotificationQuickDelete.ALWAYS
|
||||
|
||||
@JvmStatic
|
||||
var lockScreenNotificationVisibility = LockScreenNotificationVisibility.MESSAGE_COUNT
|
||||
|
@ -374,7 +374,7 @@ object K9 : EarlyInit {
|
|||
sortAscending[sortType] = sortAscendingSetting
|
||||
|
||||
notificationHideSubject = storage.getEnum("notificationHideSubject", NotificationHideSubject.NEVER)
|
||||
notificationQuickDeleteBehaviour = storage.getEnum("notificationQuickDelete", NotificationQuickDelete.NEVER)
|
||||
notificationQuickDeleteBehaviour = storage.getEnum("notificationQuickDelete", NotificationQuickDelete.ALWAYS)
|
||||
|
||||
lockScreenNotificationVisibility = storage.getEnum("lockScreenNotificationVisibility",
|
||||
LockScreenNotificationVisibility.MESSAGE_COUNT)
|
||||
|
|
|
@ -254,7 +254,8 @@ public class GeneralSettingsDescriptions {
|
|||
new V(38, new BooleanSetting(false))
|
||||
));
|
||||
s.put("notificationQuickDelete", Settings.versions(
|
||||
new V(38, new EnumSetting<>(NotificationQuickDelete.class, NotificationQuickDelete.NEVER))
|
||||
new V(38, new EnumSetting<>(NotificationQuickDelete.class, NotificationQuickDelete.NEVER)),
|
||||
new V(67, new EnumSetting<>(NotificationQuickDelete.class, NotificationQuickDelete.ALWAYS))
|
||||
));
|
||||
s.put("notificationDuringQuietTimeEnabled", Settings.versions(
|
||||
new V(39, new BooleanSetting(true))
|
||||
|
|
|
@ -36,7 +36,7 @@ public class Settings {
|
|||
*
|
||||
* @see SettingsExporter
|
||||
*/
|
||||
public static final int VERSION = 66;
|
||||
public static final int VERSION = 67;
|
||||
|
||||
static Map<String, Object> validate(int version, Map<String, TreeMap<Integer, SettingsDescription>> settings,
|
||||
Map<String, String> importedSettings, boolean useDefaultValues) {
|
||||
|
|
Loading…
Reference in a new issue