aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-22 18:53:30 -0700
committerAllan Wang <me@allanwang.ca>2017-06-22 18:53:30 -0700
commit42d441c0e2b436c7b95fe8dc02ef36608395dbff (patch)
treee81c90fd807b690b55def88ee8d70cf1b55d85ee /app/src
parent633618b5099fca082fbe39eca2fcf2e52d23def5 (diff)
downloadfrost-42d441c0e2b436c7b95fe8dc02ef36608395dbff.tar.gz
frost-42d441c0e2b436c7b95fe8dc02ef36608395dbff.tar.bz2
frost-42d441c0e2b436c7b95fe8dc02ef36608395dbff.zip
Move prefs out of debug
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/SettingsActivity.kt23
1 files changed, 11 insertions, 12 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/SettingsActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/SettingsActivity.kt
index cde23ebc..30562499 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/SettingsActivity.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/SettingsActivity.kt
@@ -106,24 +106,23 @@ class SettingsActivity : KPrefActivity() {
onDisabledClick = { itemView, _, _ -> itemView.snackbar(R.string.requires_custom_theme); true }
allowCustom = true
}
+ }
- checkbox(R.string.rounded_icons, { Prefs.showRoundedIcons }, { Prefs.showRoundedIcons = it })
+ checkbox(R.string.rounded_icons, { Prefs.showRoundedIcons }, { Prefs.showRoundedIcons = it })
- checkbox(R.string.fancy_animations, { Prefs.animate }, { Prefs.animate = it; animate = it }) {
- descRes = R.string.fancy_animations_desc
- }
+ checkbox(R.string.fancy_animations, { Prefs.animate }, { Prefs.animate = it; animate = it }) {
+ descRes = R.string.fancy_animations_desc
+ }
- header(R.string.feed_customization)
+ header(R.string.feed_customization)
- checkbox(R.string.suggested_friends, { Prefs.showSuggestedFriends }, { Prefs.showSuggestedFriends = it }) {
- descRes = R.string.suggested_friends_desc
- }
-
- checkbox(R.string.facebook_ads, { Prefs.showFacebookAds }, { Prefs.showFacebookAds = it }) {
- descRes = R.string.facebook_ads_desc
- }
+ checkbox(R.string.suggested_friends, { Prefs.showSuggestedFriends }, { Prefs.showSuggestedFriends = it }) {
+ descRes = R.string.suggested_friends_desc
}
+ checkbox(R.string.facebook_ads, { Prefs.showFacebookAds }, { Prefs.showFacebookAds = it }) {
+ descRes = R.string.facebook_ads_desc
+ }
}