diff --git a/app/src/main/kotlin/com/simplemobiletools/clock/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/clock/activities/MainActivity.kt index e960c841..13c652c2 100644 --- a/app/src/main/kotlin/com/simplemobiletools/clock/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/clock/activities/MainActivity.kt @@ -78,8 +78,8 @@ class MainActivity : SimpleActivity() { } } - override fun onDestroy() { - super.onDestroy() + override fun onStop() { + super.onStop() config.lastUsedViewPagerPage = view_pager.currentItem }