From 392f394aec75f3c655b4f39d7640a8f6164cb109 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 4 Aug 2019 23:41:58 -0700 Subject: Add prefs --- app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/src/main/kotlin/com/pitchedapps/frost/settings') 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 c764244b..cf7b3d09 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt @@ -64,6 +64,10 @@ fun SettingsActivity.getFeedPrefs(): KPrefAdapterBuilder.() -> Unit = { descRes = R.string.composer_desc } + checkbox(R.string.create_fab, Prefs::showCreateFab, { Prefs.showCreateFab = it }) { + descRes = R.string.create_fab_desc + } + checkbox(R.string.suggested_friends, Prefs::showSuggestedFriends, { Prefs.showSuggestedFriends = it setFrostResult(REQUEST_REFRESH) -- cgit v1.2.3