diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt index 867924ec2..266cbed2e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt @@ -351,11 +351,6 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener { } private fun checkWhatsNewDialog() { - if (config.lastVersion == 0) { - config.lastVersion = BuildConfig.VERSION_CODE - return - } - arrayListOf().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) } } }