diff options
author | Allan Wang <me@allanwang.ca> | 2020-07-18 18:38:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-18 18:38:06 -0700 |
commit | 2a00941b2c6aa33dcc1274370134d2870a06af9e (patch) | |
tree | 0522092ce58591093705ee37391b68c428b1211a /app/src/main/kotlin/com/pitchedapps/frost/iitems/GenericIItems.kt | |
parent | cf7962e6d285104fe3b3057e9fe4f5284c372459 (diff) | |
parent | b999ec62b587eb93637fcdd5a73e5a2a6a90c97c (diff) | |
download | frost-2a00941b2c6aa33dcc1274370134d2870a06af9e.tar.gz frost-2a00941b2c6aa33dcc1274370134d2870a06af9e.tar.bz2 frost-2a00941b2c6aa33dcc1274370134d2870a06af9e.zip |
Merge pull request #1696 from AllanWang/versions
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/iitems/GenericIItems.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/iitems/GenericIItems.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/iitems/GenericIItems.kt b/app/src/main/kotlin/com/pitchedapps/frost/iitems/GenericIItems.kt index 5257be5e..746f0c1c 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/iitems/GenericIItems.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/iitems/GenericIItems.kt @@ -83,7 +83,7 @@ open class HeaderIItem( val text: TextView by bindView(R.id.item_header_text) - override fun bindView(item: HeaderIItem, payloads: MutableList<Any>) { + override fun bindView(item: HeaderIItem, payloads: List<Any>) { text.setTextColor(prefs.accentColor) text.text = item.text text.setBackgroundColor(prefs.nativeBgColor) @@ -112,7 +112,7 @@ open class TextIItem( val text: TextView by bindView(R.id.item_text_view) - override fun bindView(item: TextIItem, payloads: MutableList<Any>) { + override fun bindView(item: TextIItem, payloads: List<Any>) { text.setTextColor(prefs.textColor) text.text = item.text text.background = createSimpleRippleDrawable(prefs.bgColor, prefs.nativeBgColor) |