Fix: Fixed the home screen elements to hide when disabled.

Signed-off-by: HeCodes2Much <wayne6324@gmail.com>
This commit is contained in:
HeCodes2Much
2024-07-19 16:26:04 +01:00
parent 21991fa843
commit 6c6db81498

View File

@@ -97,7 +97,7 @@ class AppHelper @Inject constructor() {
if (view is TextView) {
view.setTextColor(selectColor)
view.textSize = textSize
view.visibility = if (isVisible) View.VISIBLE else View.INVISIBLE
view.visibility = if (isVisible) View.VISIBLE else View.GONE
view.isClickable = if (isVisible) view.isClickable else !view.isClickable
}
}