aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/utils
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-08-04 23:39:00 -0700
committerAllan Wang <me@allanwang.ca>2019-08-04 23:39:00 -0700
commit74e05199872e9b09678822378856e225a79028b4 (patch)
tree007a8e7f15b1fff60efe8f14a806521a88753c95 /app/src/main/kotlin/com/pitchedapps/frost/utils
parent2eacc8cb77b561eb1da11acb6ec8f620195fd24f (diff)
downloadfrost-74e05199872e9b09678822378856e225a79028b4.tar.gz
frost-74e05199872e9b09678822378856e225a79028b4.tar.bz2
frost-74e05199872e9b09678822378856e225a79028b4.zip
Add pref toggle
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/utils')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt2
1 files changed, 2 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 0885109a..eb8e4b35 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
@@ -189,6 +189,8 @@ object Prefs : KPref() {
var autoRefreshFeed: Boolean by kpref("auto_refresh_feed", false)
+ var showCreateFab: Boolean by kpref("show_create_fab", true)
+
inline val mainActivityLayout: MainActivityLayout
get() = MainActivityLayout(mainActivityLayoutType)