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 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt') 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 + } } -- cgit v1.2.3