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 15:50:08 -0700
committerAllan Wang <me@allanwang.ca>2017-06-20 15:50:08 -0700
commite916afddb89550d7f99f17e1477ad17f3bd770f9 (patch)
treeb9a846da082599295d2671d29eaee74d9310f4c6 /app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
parent2d7fa0f6d0c152bb9f3fd30370ef510a0d452d00 (diff)
downloadfrost-e916afddb89550d7f99f17e1477ad17f3bd770f9.tar.gz
frost-e916afddb89550d7f99f17e1477ad17f3bd770f9.tar.bz2
frost-e916afddb89550d7f99f17e1477ad17f3bd770f9.zip
Add user switching for notifications
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.kt2
1 files changed, 2 insertions, 0 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 62ed3cdd..40735544 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
@@ -17,6 +17,8 @@ object Prefs : KPref() {
var userId: Long by kpref("user_id", -1L)
+ var prevId: Long by kpref("prev_id", -1L)
+
var theme: Int by kpref("theme", 0, postSetter = { value: Int ->
loader.invalidate()
})