aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-08-04 23:41:58 -0700
committerAllan Wang <me@allanwang.ca>2019-08-04 23:41:58 -0700
commit392f394aec75f3c655b4f39d7640a8f6164cb109 (patch)
treed071efa9b529c6d3b0a4fadd301e94368125451f /app/src/main/kotlin/com
parent74e05199872e9b09678822378856e225a79028b4 (diff)
downloadfrost-392f394aec75f3c655b4f39d7640a8f6164cb109.tar.gz
frost-392f394aec75f3c655b4f39d7640a8f6164cb109.tar.bz2
frost-392f394aec75f3c655b4f39d7640a8f6164cb109.zip
Add prefs
Diffstat (limited to 'app/src/main/kotlin/com')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt4
1 files changed, 4 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 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)