kopia lustrzana https://github.com/ryukoposting/Signal-Android
Add proper name and alignment to expired fragment.
rodzic
bad2f99968
commit
22221222bd
|
@ -32,11 +32,13 @@ class ExpiredBadgeBottomSheetDialogFragment : DSLSettingsBottomSheetFragment(
|
||||||
customPref(ExpiredBadge.Model(badge))
|
customPref(ExpiredBadge.Model(badge))
|
||||||
|
|
||||||
sectionHeaderPref(
|
sectionHeaderPref(
|
||||||
if (badge.isBoost()) {
|
DSLSettingsText.from(
|
||||||
R.string.ExpiredBadgeBottomSheetDialogFragment__your_badge_has_expired
|
if (badge.isBoost()) {
|
||||||
} else {
|
R.string.ExpiredBadgeBottomSheetDialogFragment__your_badge_has_expired
|
||||||
R.string.ExpiredBadgeBottomSheetDialogFragment__subscription_cancelled
|
} else {
|
||||||
}
|
R.string.ExpiredBadgeBottomSheetDialogFragment__subscription_cancelled
|
||||||
|
}, DSLSettingsText.CenterModifier
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
space(DimensionUnit.DP.toPixels(4f).toInt())
|
space(DimensionUnit.DP.toPixels(4f).toInt())
|
||||||
|
@ -44,9 +46,9 @@ class ExpiredBadgeBottomSheetDialogFragment : DSLSettingsBottomSheetFragment(
|
||||||
noPadTextPref(
|
noPadTextPref(
|
||||||
DSLSettingsText.from(
|
DSLSettingsText.from(
|
||||||
if (badge.isBoost()) {
|
if (badge.isBoost()) {
|
||||||
R.string.ExpiredBadgeBottomSheetDialogFragment__your_boost_badge_has_expired
|
getString(R.string.ExpiredBadgeBottomSheetDialogFragment__your_boost_badge_has_expired)
|
||||||
} else {
|
} else {
|
||||||
R.string.ExpiredBadgeBottomSheetDialogFragment__your_sustainer
|
getString(R.string.ExpiredBadgeBottomSheetDialogFragment__your_sustainer, badge.name)
|
||||||
},
|
},
|
||||||
DSLSettingsText.CenterModifier
|
DSLSettingsText.CenterModifier
|
||||||
)
|
)
|
||||||
|
|
Ładowanie…
Reference in New Issue