mirror of https://github.com/M66B/FairEmail.git
Reset crash report count on update
This commit is contained in:
parent
0cde8d8726
commit
0d645f7ff5
|
@ -163,6 +163,9 @@ public class ApplicationEx extends Application {
|
||||||
|
|
||||||
SharedPreferences.Editor editor = prefs.edit();
|
SharedPreferences.Editor editor = prefs.edit();
|
||||||
|
|
||||||
|
if (version < BuildConfig.VERSION_CODE)
|
||||||
|
editor.remove("crash_report_count");
|
||||||
|
|
||||||
if (version < 468) {
|
if (version < 468) {
|
||||||
editor.remove("notify_trash");
|
editor.remove("notify_trash");
|
||||||
editor.remove("notify_archive");
|
editor.remove("notify_archive");
|
||||||
|
|
Loading…
Reference in New Issue