Fix cards in timelines/confirm boost preferences (#1878)
This commit is contained in:
parent
907c5096b9
commit
e2f3c74774
2 changed files with 10 additions and 2 deletions
|
@ -125,6 +125,13 @@ class PreferencesFragment : PreferenceFragmentCompat() {
|
||||||
isSingleLineTitle = false
|
isSingleLineTitle = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
switchPreference {
|
||||||
|
setDefaultValue(false)
|
||||||
|
key = PrefKeys.SHOW_CARDS_IN_TIMELINES
|
||||||
|
setTitle(R.string.pref_title_show_cards_in_timelines)
|
||||||
|
isSingleLineTitle = false
|
||||||
|
}
|
||||||
|
|
||||||
switchPreference {
|
switchPreference {
|
||||||
setDefaultValue(true)
|
setDefaultValue(true)
|
||||||
key = PrefKeys.SHOW_NOTIFICATIONS_FILTER
|
key = PrefKeys.SHOW_NOTIFICATIONS_FILTER
|
||||||
|
@ -141,8 +148,8 @@ class PreferencesFragment : PreferenceFragmentCompat() {
|
||||||
}
|
}
|
||||||
|
|
||||||
switchPreference {
|
switchPreference {
|
||||||
setDefaultValue(false)
|
setDefaultValue(true)
|
||||||
key = PrefKeys.SHOW_CARDS_IN_TIMELINES
|
key = PrefKeys.CONFIRM_REBLOGS
|
||||||
setTitle(R.string.pref_title_confirm_reblogs)
|
setTitle(R.string.pref_title_confirm_reblogs)
|
||||||
isSingleLineTitle = false
|
isSingleLineTitle = false
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,6 +28,7 @@ object PrefKeys {
|
||||||
const val USE_BLURHASH = "useBlurhash"
|
const val USE_BLURHASH = "useBlurhash"
|
||||||
const val SHOW_NOTIFICATIONS_FILTER = "showNotificationsFilter"
|
const val SHOW_NOTIFICATIONS_FILTER = "showNotificationsFilter"
|
||||||
const val SHOW_CARDS_IN_TIMELINES = "showCardsInTimelines"
|
const val SHOW_CARDS_IN_TIMELINES = "showCardsInTimelines"
|
||||||
|
const val CONFIRM_REBLOGS = "confirmReblogs"
|
||||||
const val ENABLE_SWIPE_FOR_TABS = "enableSwipeForTabs"
|
const val ENABLE_SWIPE_FOR_TABS = "enableSwipeForTabs"
|
||||||
|
|
||||||
const val CUSTOM_TABS = "customTabs"
|
const val CUSTOM_TABS = "customTabs"
|
||||||
|
|
Loading…
Add table
Reference in a new issue