From f77914aab27262473e9766ca2c5b7f671384b9ea Mon Sep 17 00:00:00 2001 From: Sayantan Roychowdhury Date: Wed, 22 Mar 2023 17:56:17 +0530 Subject: [PATCH] change the default swipe options --- app/core/src/main/java/com/fsck/k9/K9.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/core/src/main/java/com/fsck/k9/K9.kt b/app/core/src/main/java/com/fsck/k9/K9.kt index 966d02da40..261f24d40c 100644 --- a/app/core/src/main/java/com/fsck/k9/K9.kt +++ b/app/core/src/main/java/com/fsck/k9/K9.kt @@ -271,10 +271,10 @@ object K9 : EarlyInit { var pgpSignOnlyDialogCounter: Int = 0 @JvmStatic - var swipeRightAction: SwipeAction = SwipeAction.ToggleSelection + var swipeRightAction: SwipeAction = SwipeAction.Delete @JvmStatic - var swipeLeftAction: SwipeAction = SwipeAction.ToggleRead + var swipeLeftAction: SwipeAction = SwipeAction.Archive val isQuietTime: Boolean get() { @@ -394,8 +394,8 @@ object K9 : EarlyInit { messageComposeTheme = storage.getEnum("messageComposeTheme", SubTheme.USE_GLOBAL) isFixedMessageViewTheme = storage.getBoolean("fixedMessageViewTheme", true) - swipeRightAction = storage.getEnum("swipeRightAction", SwipeAction.ToggleSelection) - swipeLeftAction = storage.getEnum("swipeLeftAction", SwipeAction.ToggleRead) + swipeRightAction = storage.getEnum("swipeRightAction", SwipeAction.Delete) + swipeLeftAction = storage.getEnum("swipeLeftAction", SwipeAction.Archive) } internal fun save(editor: StorageEditor) { -- GitLab