mirror of
https://github.com/jrpie/Launcher.git
synced 2025-02-23 14:31:30 +01:00
Fix settings icon rotation
This commit is contained in:
parent
69c084ac51
commit
4f5974d997
1 changed files with 1 additions and 3 deletions
|
@ -126,8 +126,6 @@ class HomeActivity: UIObject, AppCompatActivity(),
|
||||||
override fun onPause() {
|
override fun onPause() {
|
||||||
super.onPause()
|
super.onPause()
|
||||||
clockTimer.cancel()
|
clockTimer.cancel()
|
||||||
|
|
||||||
hideSettingsIcon()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean {
|
override fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean {
|
||||||
|
@ -207,7 +205,7 @@ class HomeActivity: UIObject, AppCompatActivity(),
|
||||||
|
|
||||||
override fun applyTheme() {
|
override fun applyTheme() {
|
||||||
// Start by showing the settings icon
|
// Start by showing the settings icon
|
||||||
showSettingsIcon()
|
if (!settingsIconShown) showSettingsIcon()
|
||||||
|
|
||||||
home_settings_icon.setTextColor(vibrantColor)
|
home_settings_icon.setTextColor(vibrantColor)
|
||||||
home_container.setBackgroundColor(dominantColor)
|
home_container.setBackgroundColor(dominantColor)
|
||||||
|
|
Loading…
Add table
Reference in a new issue