Reset database on app update (again)

This commit is contained in:
Naveen 2023-09-19 23:41:54 +05:30
parent e255d7284b
commit a87f33f88f
No known key found for this signature in database
GPG key ID: 0E155DAD31671DA3
2 changed files with 2 additions and 1 deletions

View file

@ -988,6 +988,7 @@ fun Context.getFileSizeFromUri(uri: Uri): Long {
// fix a glitch at enabling Release version minifying from 5.12.3
// reset messages in 5.14.3 again, as PhoneNumber is no longer minified
// reset messages in 5.19.1 again, as SimpleContact is no longer minified
fun Context.clearAllMessagesIfNeeded() {
if (!config.wasDbCleared) {
ensureBackgroundThread {