mirror of https://github.com/M66B/FairEmail.git
Clear last search on manual cleanup
This commit is contained in:
parent
2c653690ae
commit
ff61666297
|
@ -101,6 +101,10 @@ public class WorkerCleanup extends Worker {
|
|||
|
||||
int headers = db.message().clearMessageHeaders();
|
||||
Log.i("Cleared message headers=" + headers);
|
||||
|
||||
// Clear last search
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
prefs.edit().remove("last_search").apply();
|
||||
}
|
||||
|
||||
long now = new Date().getTime();
|
||||
|
|
Loading…
Reference in New Issue