delete db after latest update

This commit is contained in:
tibbi 2022-02-11 09:28:53 +01:00
parent 2fed3885cd
commit 9265946d64
4 changed files with 15 additions and 0 deletions

View file

@ -80,6 +80,13 @@ class MainActivity : SimpleActivity() {
startActivityForResult(intent, MAKE_DEFAULT_APP_REQUEST)
}
}
if (!config.wasDbCleared) {
ensureBackgroundThread {
messagesDB.deleteAll()
}
config.wasDbCleared
}
}
override fun onResume() {