mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 01:06:11 +00:00
Clean image cache on upgrade
This commit is contained in:
parent
0fdc60f68d
commit
f374c3e2cd
1 changed files with 5 additions and 0 deletions
|
@ -1049,6 +1049,11 @@ public class ApplicationEx extends Application
|
|||
editor.remove("outlook_last_checked").remove("outlook_checked");
|
||||
}
|
||||
|
||||
if (version < 2212) {
|
||||
if (!BuildConfig.DEBUG)
|
||||
ContactInfo.clearCache(context); // SVG scale
|
||||
}
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)
|
||||
editor.remove("background_service");
|
||||
|
||||
|
|
Loading…
Reference in a new issue