From d10ab1b0bd3a80a21fee804418f06fda1ac043ac Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 14 Jun 2024 07:53:35 +0200 Subject: [PATCH] Oops --- .../java/eu/faircode/email/ApplicationEx.java | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ApplicationEx.java b/app/src/main/java/eu/faircode/email/ApplicationEx.java index 9bd9e80f2a..0e53c8be12 100644 --- a/app/src/main/java/eu/faircode/email/ApplicationEx.java +++ b/app/src/main/java/eu/faircode/email/ApplicationEx.java @@ -860,18 +860,26 @@ public class ApplicationEx extends Application editor.putBoolean("mod", true); } else if (version < 2170) { editor.putBoolean("mod", false); - } else if (version < 2180) { + } + + if (version < 2180) { if (Helper.isAndroid15()) editor.putInt("last_sdk", 0); - } else if (version < 2187) { + } + + if (version < 2187) { if (!prefs.contains("delete_unseen")) editor.putBoolean("delete_unseen", false); if (Helper.isPixelBeta()) editor.putBoolean("motd", true); - } else if (version < 2191) { + } + + if (version < 2191) { if ("a".equals(BuildConfig.REVISION)) editor.remove("show_changelog"); - } else if (version < 2196) { + } + + if (version < 2196) { if (!prefs.contains("forward_new")) editor.putBoolean("forward_new", true); }