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 22:51:30 -0700
committerAllan Wang <me@allanwang.ca>2017-06-20 22:51:30 -0700
commit68358b43505347f987e2c690595810b806a66c2e (patch)
tree8e68134f47140938b60b56ab2f7c07489cb2e281 /app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
parent89673894356e29ac48ebaba5bd75d03690da1d66 (diff)
downloadfrost-68358b43505347f987e2c690595810b806a66c2e.tar.gz
frost-68358b43505347f987e2c690595810b806a66c2e.tar.bz2
frost-68358b43505347f987e2c690595810b806a66c2e.zip
Add random user identifier
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.kt6
1 files changed, 5 insertions, 1 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 cda259b2..9f37ff2e 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
@@ -33,7 +33,11 @@ object Prefs : KPref() {
var notificationFreq: Long by kpref("notification_freq", -1L)
- var versionCode:Int by kpref("version_code", -1)
+ var versionCode: Int by kpref("version_code", -1)
+
+ var installDate: Long by kpref("install_date", -1L)
+
+ var identifier: Int by kpref("indentifier", -1)
private val loader = lazyResettable { Theme.values[Prefs.theme] }