mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-26 14:09:58 +00:00
Add polish to PNP registration settings.
This commit is contained in:
committed by
Nicholas Tinsley
parent
8bca5b4901
commit
c021d26103
@@ -288,9 +288,11 @@ public class CreateProfileFragment extends LoggingFragment {
|
||||
private void presentWhoCanFindMeDescription(PhoneNumberPrivacyValues.PhoneNumberDiscoverabilityMode phoneNumberListingMode) {
|
||||
switch (phoneNumberListingMode) {
|
||||
case DISCOVERABLE:
|
||||
binding.whoCanFindMeIcon.setImageResource(R.drawable.symbol_group_24);
|
||||
binding.whoCanFindMeDescription.setText(R.string.PhoneNumberPrivacy_everyone);
|
||||
break;
|
||||
case NOT_DISCOVERABLE:
|
||||
binding.whoCanFindMeIcon.setImageResource(R.drawable.symbol_lock_24);
|
||||
binding.whoCanFindMeDescription.setText(R.string.PhoneNumberPrivacy_nobody);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -70,8 +70,8 @@ class WhoCanFindMeByPhoneNumberFragment : DSLSettingsFragment(
|
||||
textPref(
|
||||
title = DSLSettingsText.from(
|
||||
when (state) {
|
||||
WhoCanFindMeByPhoneNumberState.EVERYONE -> R.string.WhoCanSeeMyPhoneNumberFragment__anyone_who_has
|
||||
WhoCanFindMeByPhoneNumberState.NOBODY -> R.string.WhoCanSeeMyPhoneNumberFragment__nobody_on_signal
|
||||
WhoCanFindMeByPhoneNumberState.EVERYONE -> R.string.WhoCanSeeMyPhoneNumberFragment__anyone_who_has_your
|
||||
WhoCanFindMeByPhoneNumberState.NOBODY -> R.string.WhoCanSeeMyPhoneNumberFragment__nobody_will_be_able
|
||||
},
|
||||
DSLSettingsText.TextAppearanceModifier(R.style.Signal_Text_BodyMedium),
|
||||
DSLSettingsText.ColorModifier(ContextCompat.getColor(requireContext(), R.color.signal_colorOnSurfaceVariant))
|
||||
|
||||
Reference in New Issue
Block a user