Display the phone number in the confirm dialog during registration

Closes #2746
This commit is contained in:
agrajaghh 2015-03-25 09:48:55 +01:00 committed by Moxie Marlinspike
parent 6ec9ee89a7
commit 3a19ac432b

View File

@ -197,8 +197,8 @@ public class RegistrationActivity extends BaseActionBarActivity {
}
AlertDialog.Builder dialog = new AlertDialog.Builder(self);
dialog.setMessage(String.format(getString(R.string.RegistrationActivity_we_will_now_verify_that_the_following_number_is_associated_with_your_device_s),
PhoneNumberFormatter.getInternationalFormatFromE164(e164number)));
dialog.setTitle(PhoneNumberFormatter.getInternationalFormatFromE164(e164number));
dialog.setMessage(R.string.RegistrationActivity_we_will_now_verify_that_the_following_number_is_associated_with_your_device_s);
dialog.setPositiveButton(getString(R.string.RegistrationActivity_continue),
new DialogInterface.OnClickListener() {
@Override