aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt13
1 files changed, 10 insertions, 3 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt b/app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt
index 22917106..f8d10437 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt
@@ -91,11 +91,18 @@ fun SettingsActivity.getFeedPrefs(): KPrefAdapterBuilder.() -> Unit = {
descRes = R.string.show_stories_desc
}
- checkbox(R.string.facebook_ads, prefs::showFacebookAds, {
- prefs.showFacebookAds = it
+ checkbox(R.string.show_post_actions, prefs::showPostActions, {
+ prefs.showPostActions = it
shouldRefreshMain()
}) {
- descRes = R.string.facebook_ads_desc
+ descRes = R.string.show_post_actions_desc
+ }
+
+ checkbox(R.string.show_post_reactions, prefs::showPostReactions, {
+ prefs.showPostReactions = it
+ shouldRefreshMain()
+ }) {
+ descRes = R.string.show_post_reactions_desc
}
checkbox(R.string.full_size_image, prefs::fullSizeImage, {