aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/utils/Showcase.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-06 02:52:18 -0400
committerGitHub <noreply@github.com>2017-07-06 02:52:18 -0400
commitbbe30297a216218ded4c2c6e3e8c2843652eb7a7 (patch)
treed120e124cb12d5474d37f1bc3e67fdaa5179c4c3 /app/src/main/kotlin/com/pitchedapps/frost/utils/Showcase.kt
parent311c7eeb304048c31f986d2d06010d0a486555ad (diff)
downloadfrost-bbe30297a216218ded4c2c6e3e8c2843652eb7a7.tar.gz
frost-bbe30297a216218ded4c2c6e3e8c2843652eb7a7.tar.bz2
frost-bbe30297a216218ded4c2c6e3e8c2843652eb7a7.zip
Dev (#29) - micro fixes mostly from KAUv1.1.4
* Add changelog * Add play descriptions * Test build since tag * Adjust view on keyboard, fixes * Update kau, merge kpref singles, update swipe * Fix swipe background * Allow swipe customization
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/utils/Showcase.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/utils/Showcase.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/Showcase.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/Showcase.kt
index b1dbe6f1..57cbef7e 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Showcase.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Showcase.kt
@@ -2,6 +2,7 @@ package com.pitchedapps.frost.utils
import ca.allanwang.kau.kpref.KPref
import ca.allanwang.kau.kpref.kpref
+import ca.allanwang.kau.kpref.kprefSingle
/**
* Created by Allan Wang on 2017-07-03.
@@ -11,7 +12,7 @@ import ca.allanwang.kau.kpref.kpref
object Showcase : KPref() {
//check if this is the first time launching the web overlay; show snackbar if true
- var firstWebOverlay: Boolean by kpref("first_web_overlay", true)
+ val firstWebOverlay: Boolean by kprefSingle("first_web_overlay")
//not a showcase but cannot be in the same file as Prefs
var experimentalDefault: Boolean by kpref("experimental_by_default", false)