aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-20 16:32:43 -0700
committerAllan Wang <me@allanwang.ca>2017-06-20 16:32:43 -0700
commit13b8505674e08cc1610ce7e77d7db8fa292372cf (patch)
tree29ae719c5639f518e2337afdab3bffbf5e4d2598 /app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
parente916afddb89550d7f99f17e1477ad17f3bd770f9 (diff)
downloadfrost-13b8505674e08cc1610ce7e77d7db8fa292372cf.tar.gz
frost-13b8505674e08cc1610ce7e77d7db8fa292372cf.tar.bz2
frost-13b8505674e08cc1610ce7e77d7db8fa292372cf.zip
Fix up settings and overlay web
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
index 40735544..cda259b2 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
@@ -19,9 +19,7 @@ object Prefs : KPref() {
var prevId: Long by kpref("prev_id", -1L)
- var theme: Int by kpref("theme", 0, postSetter = { value: Int ->
- loader.invalidate()
- })
+ var theme: Int by kpref("theme", 0, postSetter = { _: Int -> loader.invalidate() })
var customTextColor: Int by kpref("color_text", Color.BLACK)