mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
Merge pull request #76 from anescient/master
save current tab in onStop rather than onDestroy
This commit is contained in:
@@ -78,8 +78,8 @@ class MainActivity : SimpleActivity() {
|
||||
}
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
override fun onStop() {
|
||||
super.onStop()
|
||||
config.lastUsedViewPagerPage = view_pager.currentItem
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user