aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/views
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-03-01 23:00:09 -0800
committerAllan Wang <me@allanwang.ca>2020-03-01 23:00:09 -0800
commite19c87ae367154bd5bbf59f080eee4976e64e2da (patch)
tree52f30b2d97dee998aabe46feffc1f4999275ec42 /app/src/main/kotlin/com/pitchedapps/frost/views
parent10d6cfdecb790e235e09641b18b4a10a645f87a0 (diff)
downloadfrost-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.kt2
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/views/Keywords.kt7
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
+ )
+ )
}
}
}