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