diff options
-rw-r--r-- | .idea/misc.xml | 1 | ||||
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/.idea/misc.xml b/.idea/misc.xml index a71075f6..e596dc97 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -6,6 +6,7 @@ <entry key="../../../../layout/custom_preview.xml" value="0.209375" /> <entry key="app/src/main/res/drawable/frost_f_24.xml" value="0.1" /> <entry key="app/src/main/res/layout/activity_image.xml" value="0.1585144927536232" /> + <entry key="app/src/main/res/menu/menu_main.xml" value="0.35052083333333334" /> </map> </option> </component> 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 914874a2..5b1007d5 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt @@ -100,6 +100,16 @@ fun SettingsActivity.getFeedPrefs(): KPrefAdapterBuilder.() -> Unit = { } checkbox( + R.string.suggested_posts, prefs::showSuggestedPosts, + { + prefs.showSuggestedPosts = it + shouldRefreshMain() + } + ) { + descRes = R.string.suggested_posts_desc + } + + checkbox( R.string.show_stories, prefs::showStories, { prefs.showStories = it |