aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/views
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-06-28 23:03:54 -0700
committerAllan Wang <me@allanwang.ca>2020-06-28 23:03:54 -0700
commit5eeff862c8f537f3781ce5ee92341e677f9f89c0 (patch)
tree31b27e1bed06300bfb515d8fc44f7a39ce7dca61 /app/src/main/kotlin/com/pitchedapps/frost/views
parentaee8e7e00ceb476c6653d6f8328f1b376d747c0d (diff)
downloadfrost-5eeff862c8f537f3781ce5ee92341e677f9f89c0.tar.gz
frost-5eeff862c8f537f3781ce5ee92341e677f9f89c0.tar.bz2
frost-5eeff862c8f537f3781ce5ee92341e677f9f89c0.zip
Create badge parser and add test
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/views')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/views/BadgedIcon.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/views/BadgedIcon.kt b/app/src/main/kotlin/com/pitchedapps/frost/views/BadgedIcon.kt
index 462f09ae..fb56d4dc 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/views/BadgedIcon.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/views/BadgedIcon.kt
@@ -50,7 +50,7 @@ class BadgedIcon @JvmOverloads constructor(
binding.init()
}
- fun ViewBadgedIconBinding.init() {
+ private fun ViewBadgedIconBinding.init() {
val badgeColor =
prefs.mainActivityLayout.backgroundColor(prefs).withAlpha(255).colorToForeground(0.2f)
val badgeBackground =