delete db after latest update
This commit is contained in:
parent
2fed3885cd
commit
9265946d64
4 changed files with 15 additions and 0 deletions
|
|
@ -80,6 +80,13 @@ class MainActivity : SimpleActivity() {
|
|||
startActivityForResult(intent, MAKE_DEFAULT_APP_REQUEST)
|
||||
}
|
||||
}
|
||||
|
||||
if (!config.wasDbCleared) {
|
||||
ensureBackgroundThread {
|
||||
messagesDB.deleteAll()
|
||||
}
|
||||
config.wasDbCleared
|
||||
}
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue