mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
leave WhatsNewDialog checking to commons library
This commit is contained in:
@@ -351,11 +351,6 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun checkWhatsNewDialog() {
|
private fun checkWhatsNewDialog() {
|
||||||
if (config.lastVersion == 0) {
|
|
||||||
config.lastVersion = BuildConfig.VERSION_CODE
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
arrayListOf<Release>().apply {
|
arrayListOf<Release>().apply {
|
||||||
add(Release(46, R.string.release_46))
|
add(Release(46, R.string.release_46))
|
||||||
add(Release(47, R.string.release_47))
|
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(51, R.string.release_51))
|
||||||
add(Release(52, R.string.release_52))
|
add(Release(52, R.string.release_52))
|
||||||
add(Release(54, R.string.release_54))
|
add(Release(54, R.string.release_54))
|
||||||
checkWhatsNew(this)
|
checkWhatsNew(this, BuildConfig.VERSION_CODE)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user