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-23 15:48:51 -0700
committerAllan Wang <me@allanwang.ca>2017-06-23 15:48:51 -0700
commit8c1ff3e546e205e85a0d7e7df0ca5d11bd167582 (patch)
tree17ef19103e51a0489d9f9974f780bc76802c6821 /app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
parent9cfccbe6cb3ddbf3fde55184fa484c82ebb4294b (diff)
downloadfrost-8c1ff3e546e205e85a0d7e7df0ca5d11bd167582.tar.gz
frost-8c1ff3e546e205e85a0d7e7df0ca5d11bd167582.tar.bz2
frost-8c1ff3e546e205e85a0d7e7df0ca5d11bd167582.zip
Start pro version
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.kt5
1 files changed, 4 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 a75a4f8d..ab86724e 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
@@ -66,6 +66,9 @@ object Prefs : KPref() {
val isCustomTheme: Boolean
get() = t == Theme.CUSTOM
+ val frostId: String
+ get() = "${installDate}-${identifier}"
+
var showRoundedIcons: Boolean by kpref("rounded_icons", true)
var showSuggestedFriends: Boolean by kpref("suggested_friends_feed", true)
@@ -77,5 +80,5 @@ object Prefs : KPref() {
var notificationKeywords: StringSet by kpref("notification_keywords", mutableSetOf<String>())
//check if this is the first time launching the web overlay; show snackbar if true
- var firstWebOverlay:Boolean by kpref("first_web_overlay", true)
+ var firstWebOverlay: Boolean by kpref("first_web_overlay", true)
}