mirror of
https://github.com/jrpie/Launcher.git
synced 2025-02-23 06:21:31 +01:00
Fix weird SettingsIcon behaviour
When OnPause was called and the user went back to launcher, it made weird movements
This commit is contained in:
parent
057dd5e0a4
commit
5d71cf7113
1 changed files with 3 additions and 1 deletions
|
@ -82,7 +82,7 @@ class HomeActivity: UIObject, AppCompatActivity(),
|
||||||
|
|
||||||
// for if the settings changed
|
// for if the settings changed
|
||||||
loadSettings()
|
loadSettings()
|
||||||
|
|
||||||
setTheme()
|
setTheme()
|
||||||
setOnClicks()
|
setOnClicks()
|
||||||
}
|
}
|
||||||
|
@ -116,6 +116,8 @@ class HomeActivity: UIObject, AppCompatActivity(),
|
||||||
override fun onPause() {
|
override fun onPause() {
|
||||||
super.onPause()
|
super.onPause()
|
||||||
clockTimer.cancel()
|
clockTimer.cancel()
|
||||||
|
|
||||||
|
hideSettingsIcon()
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Touch- and Key-related functions to start activities */
|
/** Touch- and Key-related functions to start activities */
|
||||||
|
|
Loading…
Add table
Reference in a new issue