Wear CWF: Fix second visibility
This commit is contained in:
parent
60375978ad
commit
5e407634b6
1 changed files with 2 additions and 2 deletions
|
@ -133,8 +133,8 @@ class CustomWatchface : BaseWatchFace() {
|
|||
}
|
||||
|
||||
override fun updateSecondVisibility() {
|
||||
binding.second.visibility = showSecond.toVisibility()
|
||||
binding.secondHand.visibility = showSecond.toVisibility()
|
||||
binding.second.visibility = (binding.second.visibility == View.VISIBLE && showSecond).toVisibility()
|
||||
binding.secondHand.visibility = (binding.secondHand.visibility == View.VISIBLE && showSecond).toVisibility()
|
||||
}
|
||||
|
||||
@SuppressLint("UseCompatLoadingForDrawables")
|
||||
|
|
Loading…
Reference in a new issue