diff options
author | Allan Wang <me@allanwang.ca> | 2020-06-28 23:03:54 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2020-06-28 23:03:54 -0700 |
commit | 5eeff862c8f537f3781ce5ee92341e677f9f89c0 (patch) | |
tree | 31b27e1bed06300bfb515d8fc44f7a39ce7dca61 /app/src/main/kotlin/com/pitchedapps/frost/views | |
parent | aee8e7e00ceb476c6653d6f8328f1b376d747c0d (diff) | |
download | frost-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.kt | 2 |
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 = |