mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-25 20:23:19 +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))
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dsl_settings_gutter"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:text="@string/RegistrationActivity_next"
|
||||
android:text="@string/save"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
||||
|
||||
@@ -608,9 +608,9 @@
|
||||
<!-- Toolbar title for this screen -->
|
||||
<string name="WhoCanSeeMyPhoneNumberFragment__who_can_find_me_by_number">Who can find me by number?</string>
|
||||
<!-- Description for radio item stating anyone can see your phone number -->
|
||||
<string name="WhoCanSeeMyPhoneNumberFragment__anyone_who_has">Anyone who has your phone number in their contacts will see you as a contact on Signal. Others will be able to find you with your number in search.</string>
|
||||
<string name="WhoCanSeeMyPhoneNumberFragment__anyone_who_has_your">Anyone who has your phone number will see you\'re on Signal and can start chats with you.</string>
|
||||
<!-- Description for radio item stating no one will be able to see your phone number -->
|
||||
<string name="WhoCanSeeMyPhoneNumberFragment__nobody_on_signal">Nobody on Signal will be able to find you with your phone number.</string>
|
||||
<string name="WhoCanSeeMyPhoneNumberFragment__nobody_will_be_able">Nobody will be able to see you\'re on Signal unless you message them or have an existing chat with them.</string>
|
||||
|
||||
<!-- ChooseBackupFragment -->
|
||||
<string name="ChooseBackupFragment__restore_from_backup">Restore from backup?</string>
|
||||
|
||||
Reference in New Issue
Block a user