1
0
Fork 0
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:
M66B 2024-07-11 07:34:02 +02:00
parent 0fdc60f68d
commit f374c3e2cd

View file

@ -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");