diff options
author | Allan Wang <me@allanwang.ca> | 2020-10-03 20:47:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-03 20:47:36 -0700 |
commit | 019067430fce1fdd6cc4ff0a4e63937927de2c17 (patch) | |
tree | 7e829176cb262d21e286449cb0df4c7145a23f90 /app/src/main/kotlin/com/pitchedapps/frost/prefs/sections/FeedPrefs.kt | |
parent | 96812d2b83b81c0f9c48c7812d2600788a21eeec (diff) | |
parent | 23b619c5398312f370441acbcb57a7f0627b148d (diff) | |
download | frost-019067430fce1fdd6cc4ff0a4e63937927de2c17.tar.gz frost-019067430fce1fdd6cc4ff0a4e63937927de2c17.tar.bz2 frost-019067430fce1fdd6cc4ff0a4e63937927de2c17.zip |
Merge pull request #1716 from AllanWang/feed-options
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/prefs/sections/FeedPrefs.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/prefs/sections/FeedPrefs.kt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/prefs/sections/FeedPrefs.kt b/app/src/main/kotlin/com/pitchedapps/frost/prefs/sections/FeedPrefs.kt index 0060f9ad..232a5ca3 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/prefs/sections/FeedPrefs.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/prefs/sections/FeedPrefs.kt @@ -45,6 +45,10 @@ interface FeedPrefs : PrefsBase { var mainActivityLayoutType: Int val mainActivityLayout: MainActivityLayout + + var showPostActions: Boolean + + var showPostReactions: Boolean } class FeedPrefsImpl( @@ -95,4 +99,8 @@ class FeedPrefsImpl( override val mainActivityLayout: MainActivityLayout get() = MainActivityLayout(mainActivityLayoutType) + + override var showPostActions: Boolean by kpref("show_post_actions", true) + + override var showPostReactions: Boolean by kpref("show_post_reactions", true) } |