diff options
author | Allan Wang <me@allanwang.ca> | 2020-05-23 18:45:03 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2020-05-23 18:45:03 -0700 |
commit | 3d4d9e636f06bb72c0468927a91e9a81e203424f (patch) | |
tree | 8833ac0ad7ede4abc447187efb35e55f0e9356a6 /app/src/main/kotlin/com/pitchedapps | |
parent | c7cfb2c8682b223e5949735a015cb920934b36cd (diff) | |
download | frost-3d4d9e636f06bb72c0468927a91e9a81e203424f.tar.gz frost-3d4d9e636f06bb72c0468927a91e9a81e203424f.tar.bz2 frost-3d4d9e636f06bb72c0468927a91e9a81e203424f.zip |
Add pref entry
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt | 7 |
1 files changed, 7 insertions, 0 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 + } } |