From 3d4d9e636f06bb72c0468927a91e9a81e203424f Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 23 May 2020 18:45:03 -0700 Subject: Add pref entry --- app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt | 7 +++++++ app/src/main/res/values-gr-rGR/strings_pref_feed.xml | 2 +- app/src/main/res/values/strings_pref_feed.xml | 6 ++++-- 3 files changed, 12 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 15a0633b..22917106 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt @@ -97,4 +97,11 @@ fun SettingsActivity.getFeedPrefs(): KPrefAdapterBuilder.() -> Unit = { }) { descRes = R.string.facebook_ads_desc } + + checkbox(R.string.full_size_image, prefs::fullSizeImage, { + prefs.fullSizeImage = it + shouldRefreshMain() + }) { + descRes = R.string.full_size_image_desc + } } diff --git a/app/src/main/res/values-gr-rGR/strings_pref_feed.xml b/app/src/main/res/values-gr-rGR/strings_pref_feed.xml index 218ccd7e..ea707524 100644 --- a/app/src/main/res/values-gr-rGR/strings_pref_feed.xml +++ b/app/src/main/res/values-gr-rGR/strings_pref_feed.xml @@ -9,7 +9,7 @@ Εμφάνιση Δημιουργίας Δημοσίευσης στο feed δημοσιεύσεων Προτεινόμενοι Φίλοι - Εμφάνισε "Ανθρώπους που ίσως γνωρίζετε" στο feed δημοσιεύσεων + Εμφάνισε \"Ανθρώπους που ίσως γνωρίζετε\" στο feed δημοσιεύσεων Προτεινόμενες ομάδες Εμφάνισε "Προτεινόμενες ομάδες" στο feed Εμφάνιση Ιστοριών diff --git a/app/src/main/res/values/strings_pref_feed.xml b/app/src/main/res/values/strings_pref_feed.xml index 96112059..330c900c 100644 --- a/app/src/main/res/values/strings_pref_feed.xml +++ b/app/src/main/res/values/strings_pref_feed.xml @@ -11,12 +11,14 @@ Show FAB in feed to create new post Suggested Friends - Show "People You May Know" in the feed + Show \"People You May Know\" in the feed Suggested Groups - Show "Suggested Groups" in the feed + Show \"Suggested Groups\" in the feed Show Stories Show stories in the feed Facebook Ads Show native Facebook ads + Full Size Images + Force news feed images to be full width \ No newline at end of file -- cgit v1.2.3