mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-25 12:17:22 +00:00
Do not force +1 country code when restoring registration state.
This commit is contained in:
@@ -129,8 +129,13 @@ public final class EnterPhoneNumberFragment extends LoggingFragment implements R
|
||||
if (supportActionBar != null) {
|
||||
supportActionBar.setTitle(null);
|
||||
}
|
||||
controller.prepopulateCountryCode();
|
||||
controller.setNumberAndCountryCode(viewModel.getNumber());
|
||||
|
||||
final NumberViewState viewModelNumber = viewModel.getNumber();
|
||||
if (viewModelNumber.getCountryCode() == 0) {
|
||||
controller.prepopulateCountryCode();
|
||||
}
|
||||
controller.setNumberAndCountryCode(viewModelNumber);
|
||||
|
||||
showKeyboard(number.getEditText());
|
||||
|
||||
if (viewModel.hasUserSkippedReRegisterFlow() && viewModel.shouldAutoShowSmsConfirmDialog()) {
|
||||
|
||||
Reference in New Issue
Block a user