leave WhatsNewDialog checking to commons library
This commit is contained in:
parent
4864d31069
commit
5eb44b5bcf
1 changed files with 1 additions and 6 deletions
|
@ -351,11 +351,6 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
|
|||
}
|
||||
|
||||
private fun checkWhatsNewDialog() {
|
||||
if (config.lastVersion == 0) {
|
||||
config.lastVersion = BuildConfig.VERSION_CODE
|
||||
return
|
||||
}
|
||||
|
||||
arrayListOf<Release>().apply {
|
||||
add(Release(46, R.string.release_46))
|
||||
add(Release(47, R.string.release_47))
|
||||
|
@ -364,7 +359,7 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
|
|||
add(Release(51, R.string.release_51))
|
||||
add(Release(52, R.string.release_52))
|
||||
add(Release(54, R.string.release_54))
|
||||
checkWhatsNew(this)
|
||||
checkWhatsNew(this, BuildConfig.VERSION_CODE)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue