aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/utils
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-07-21 01:07:06 -0700
committerAllan Wang <me@allanwang.ca>2019-07-21 01:07:06 -0700
commit0055ab5fdab9c86bed7982afde1739e95b093336 (patch)
tree845468f364ba67b3b7b19af0ce7b2c7013990b3e /app/src/main/kotlin/com/pitchedapps/frost/utils
parentdc5979df63c71c6271d733c31a75e5f3f8faa64f (diff)
downloadfrost-0055ab5fdab9c86bed7982afde1739e95b093336.tar.gz
frost-0055ab5fdab9c86bed7982afde1739e95b093336.tar.bz2
frost-0055ab5fdab9c86bed7982afde1739e95b093336.zip
Add prefs
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 51eb856b..c10a95ce 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
@@ -173,6 +173,8 @@ object Prefs : KPref() {
var blackMediaBg: Boolean by kpref("black_media_bg", false)
+ var autoRefreshFeed: Boolean by kpref("auto_refresh_feed", false)
+
inline val mainActivityLayout: MainActivityLayout
get() = MainActivityLayout(mainActivityLayoutType)