diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-20 15:50:08 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-20 15:50:08 -0700 |
commit | e916afddb89550d7f99f17e1477ad17f3bd770f9 (patch) | |
tree | b9a846da082599295d2671d29eaee74d9310f4c6 /app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt | |
parent | 2d7fa0f6d0c152bb9f3fd30370ef510a0d452d00 (diff) | |
download | frost-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.kt | 2 |
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() }) |