From e19c87ae367154bd5bbf59f080eee4976e64e2da Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 1 Mar 2020 23:00:09 -0800 Subject: Format code --- app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt | 2 +- app/src/main/kotlin/com/pitchedapps/frost/views/Keywords.kt | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'app/src/main/kotlin/com/pitchedapps/frost/views') 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(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() 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 + ) + ) } } } -- cgit v1.2.3