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-03 22:15:04 -0700
committerAllan Wang <me@allanwang.ca>2017-07-04 01:17:26 -0400
commit8ddc3e1512a5add02a7391e92320d3babca85fc8 (patch)
tree3ff051c13f0d688c76c9d7fb2ea31e1a5c4f6590 /app/src/main/kotlin/com/pitchedapps/frost/utils/Showcase.kt
parent74ab377fdb14b09929d218836186507b60e0b306 (diff)
downloadfrost-8ddc3e1512a5add02a7391e92320d3babca85fc8.tar.gz
frost-8ddc3e1512a5add02a7391e92320d3babca85fc8.tar.bz2
frost-8ddc3e1512a5add02a7391e92320d3babca85fc8.zip
Create showcase prefs
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.kt16
1 files changed, 16 insertions, 0 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
new file mode 100644
index 00000000..1429dc1a
--- /dev/null
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Showcase.kt
@@ -0,0 +1,16 @@
+package com.pitchedapps.frost.utils
+
+import ca.allanwang.kau.kpref.KPref
+import ca.allanwang.kau.kpref.kpref
+
+/**
+ * Created by Allan Wang on 2017-07-03.
+ *
+ * Showcase prefs that offer one time helpers to guide new users
+ */
+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)
+}
+