diff options
author | Allan Wang <me@allanwang.ca> | 2020-07-18 18:08:31 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2020-07-18 18:08:31 -0700 |
commit | 0f2a57143438de0d86485c0eddd0e766ad2fcee5 (patch) | |
tree | c8e3ed726a3cb85525aa347107ab7a96b59be6ca /app/src/main/kotlin/com/pitchedapps/frost/iitems/TabIItem.kt | |
parent | fb38a5d1abafda5a74bdacd683033e3d48dff018 (diff) | |
download | frost-0f2a57143438de0d86485c0eddd0e766ad2fcee5.tar.gz frost-0f2a57143438de0d86485c0eddd0e766ad2fcee5.tar.bz2 frost-0f2a57143438de0d86485c0eddd0e766ad2fcee5.zip |
Update fast adapter
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/iitems/TabIItem.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/iitems/TabIItem.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/iitems/TabIItem.kt b/app/src/main/kotlin/com/pitchedapps/frost/iitems/TabIItem.kt index c1998c04..fcd71031 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/iitems/TabIItem.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/iitems/TabIItem.kt @@ -50,7 +50,7 @@ class TabIItem(val item: FbItem) : KauIItem<TabIItem.ViewHolder>( val image: ImageView by bindView(R.id.image) val text: TextView by bindView(R.id.text) - override fun bindView(item: TabIItem, payloads: MutableList<Any>) { + override fun bindView(item: TabIItem, payloads: List<Any>) { val isInToolbar = adapterPosition < 4 val color = if (isInToolbar) prefs.iconColor else prefs.textColor image.setIcon(item.item.icon, 20, color) |