diff options
author | Allan Wang <me@allanwang.ca> | 2018-03-11 22:21:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-11 22:21:40 -0400 |
commit | 6b85bc72a864e65d99ae65802ce03f977a98c906 (patch) | |
tree | d8a1a5fd443aef4b670912b8f48ce2a3725d470a /app/src/main/kotlin/com/pitchedapps/frost/iitems/MenuIItem.kt | |
parent | ee4f2eab359b83618d314ded2fa3d442c280bbfa (diff) | |
download | frost-6b85bc72a864e65d99ae65802ce03f977a98c906.tar.gz frost-6b85bc72a864e65d99ae65802ce03f977a98c906.tar.bz2 frost-6b85bc72a864e65d99ae65802ce03f977a98c906.zip |
misc (#781)v1.8.3
* Rename image vars
* Add black media option, resolves #726
* Update changelog
* Fix menu parsin
* Update changelog
* Fix menu badges
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/iitems/MenuIItem.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/iitems/MenuIItem.kt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/iitems/MenuIItem.kt b/app/src/main/kotlin/com/pitchedapps/frost/iitems/MenuIItem.kt index f5b1df17..4a7356b0 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/iitems/MenuIItem.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/iitems/MenuIItem.kt @@ -48,10 +48,13 @@ class MenuContentIItem(val data: MenuItem) else icon.gone() content.text = item.data.name + badge.text = item.data.badge } override fun unbindView(item: MenuContentIItem) { - badge.gone() + GlideApp.with(itemView).clear(icon) + content.text = null + badge.text = null } } } |