From c498b2a3b973ab9113581ca18bb4c7ba711d2ecf Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 2 Jan 2022 16:08:35 +0100 Subject: [PATCH] Auto remove test settings --- app/src/main/java/eu/faircode/email/ApplicationEx.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/ApplicationEx.java b/app/src/main/java/eu/faircode/email/ApplicationEx.java index 4ff99eaae7..84971cd29e 100644 --- a/app/src/main/java/eu/faircode/email/ApplicationEx.java +++ b/app/src/main/java/eu/faircode/email/ApplicationEx.java @@ -318,6 +318,9 @@ public class ApplicationEx extends Application if (version < BuildConfig.VERSION_CODE) editor.remove("crash_report_count"); + if (!BuildConfig.TEST_RELEASE) + editor.remove("test1").remove("test2").remove("test3"); + if (version < 468) { editor.remove("notify_trash"); editor.remove("notify_archive");