aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-02 11:57:57 -0700
committerAllan Wang <me@allanwang.ca>2017-07-02 11:57:57 -0700
commit8cc26f47b18bbc1944404d3378b885742a1d7586 (patch)
tree22cd6fc95e396e61a892002821bd01e4fe78c4c9 /app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
parentb148feff51d7f2805b1af378ad07740bfbeb53a8 (diff)
downloadfrost-8cc26f47b18bbc1944404d3378b885742a1d7586.tar.gz
frost-8cc26f47b18bbc1944404d3378b885742a1d7586.tar.bz2
frost-8cc26f47b18bbc1944404d3378b885742a1d7586.zip
Remap billing functionality
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.kt4
1 files changed, 4 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 cc815c55..e51bb0cb 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
@@ -87,6 +87,10 @@ object Prefs : 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)
+ /**
+ * Cache like value to determine if user has or had pro
+ * In most cases, [com.pitchedapps.frost.utils.iab.IS_FROST_PRO] should be looked at instead
+ */
var previouslyPro: Boolean by kpref("previously_pro", false)
var debugPro: Boolean by kpref("debug_pro", false)