mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-14 21:13:37 +02:00
Run vacuum manually only
This commit is contained in:
@@ -192,9 +192,6 @@ public class ApplicationEx extends Application {
|
||||
editor.putBoolean("enabled", true);
|
||||
}
|
||||
|
||||
if (version < BuildConfig.VERSION_CODE)
|
||||
editor.putBoolean("vacuum", true);
|
||||
|
||||
if (BuildConfig.DEBUG && false) {
|
||||
editor.remove("app_support");
|
||||
editor.remove("notify_archive");
|
||||
|
||||
@@ -107,7 +107,10 @@ public class WorkerCleanup extends Worker {
|
||||
|
||||
// Clear last search
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
prefs.edit().remove("last_search").apply();
|
||||
prefs.edit()
|
||||
.remove("last_search")
|
||||
.putBoolean("vacuum", true)
|
||||
.apply();
|
||||
}
|
||||
|
||||
long now = new Date().getTime();
|
||||
|
||||
Reference in New Issue
Block a user