diff options
author | Allan Wang <me@allanwang.ca> | 2020-03-01 23:00:09 -0800 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2020-03-01 23:00:09 -0800 |
commit | e19c87ae367154bd5bbf59f080eee4976e64e2da (patch) | |
tree | 52f30b2d97dee998aabe46feffc1f4999275ec42 /app/src/main/kotlin/com/pitchedapps/frost/views | |
parent | 10d6cfdecb790e235e09641b18b4a10a645f87a0 (diff) | |
download | frost-e19c87ae367154bd5bbf59f080eee4976e64e2da.tar.gz frost-e19c87ae367154bd5bbf59f080eee4976e64e2da.tar.bz2 frost-e19c87ae367154bd5bbf59f080eee4976e64e2da.zip |
Format code
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/views')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt | 2 | ||||
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/views/Keywords.kt | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt b/app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt index 8a76c424..374488fd 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt @@ -46,7 +46,7 @@ import org.koin.core.inject */ class AccountItem(val cookie: CookieEntity?) : KauIItem<AccountItem.ViewHolder>(R.layout.view_account, { ViewHolder(it) }, R.id.item_account), -KoinComponent { + KoinComponent { private val prefs: Prefs by inject() diff --git a/app/src/main/kotlin/com/pitchedapps/frost/views/Keywords.kt b/app/src/main/kotlin/com/pitchedapps/frost/views/Keywords.kt index ff8a5bb7..f2386e81 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/views/Keywords.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/views/Keywords.kt @@ -122,7 +122,12 @@ class KeywordItem(val keyword: String) : AbstractItem<KeywordItem.ViewHolder>() init { text.setTextColor(prefs.textColor) - delete.setImageDrawable(GoogleMaterial.Icon.gmd_delete.keywordDrawable(itemView.context, prefs)) + delete.setImageDrawable( + GoogleMaterial.Icon.gmd_delete.keywordDrawable( + itemView.context, + prefs + ) + ) } } } |