diff options
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 } } } |