kopia lustrzana https://github.com/ryukoposting/Signal-Android
Move stories above app security section.
rodzic
72347af967
commit
9d469db7ae
|
@ -199,6 +199,18 @@ class PrivacySettingsFragment : DSLSettingsFragment(R.string.preferences__privac
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (Stories.isFeatureAvailable()) {
|
||||||
|
dividerPref()
|
||||||
|
|
||||||
|
clickPref(
|
||||||
|
title = DSLSettingsText.from(R.string.preferences__stories),
|
||||||
|
summary = DSLSettingsText.from(R.string.PrivacySettingsFragment__manage_your_stories),
|
||||||
|
onClick = {
|
||||||
|
findNavController().safeNavigate(PrivacySettingsFragmentDirections.actionPrivacySettingsFragmentToStoryPrivacySettings(R.string.preferences__stories))
|
||||||
|
}
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
dividerPref()
|
dividerPref()
|
||||||
|
|
||||||
sectionHeaderPref(R.string.PrivacySettingsFragment__app_security)
|
sectionHeaderPref(R.string.PrivacySettingsFragment__app_security)
|
||||||
|
@ -333,18 +345,6 @@ class PrivacySettingsFragment : DSLSettingsFragment(R.string.preferences__privac
|
||||||
summary = DSLSettingsText.from(incognitoSummary),
|
summary = DSLSettingsText.from(incognitoSummary),
|
||||||
)
|
)
|
||||||
|
|
||||||
if (Stories.isFeatureAvailable()) {
|
|
||||||
dividerPref()
|
|
||||||
|
|
||||||
clickPref(
|
|
||||||
title = DSLSettingsText.from(R.string.preferences__stories),
|
|
||||||
summary = DSLSettingsText.from(R.string.PrivacySettingsFragment__manage_your_stories),
|
|
||||||
onClick = {
|
|
||||||
findNavController().safeNavigate(PrivacySettingsFragmentDirections.actionPrivacySettingsFragmentToStoryPrivacySettings(R.string.preferences__stories))
|
|
||||||
}
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
dividerPref()
|
dividerPref()
|
||||||
|
|
||||||
sectionHeaderPref(R.string.preferences_app_protection__payments)
|
sectionHeaderPref(R.string.preferences_app_protection__payments)
|
||||||
|
|
Ładowanie…
Reference in New Issue