From 3a19ac432b86426299e68dea18ba391135a3b5c1 Mon Sep 17 00:00:00 2001 From: agrajaghh Date: Wed, 25 Mar 2015 09:48:55 +0100 Subject: [PATCH] Display the phone number in the confirm dialog during registration Closes #2746 --- src/org/thoughtcrime/securesms/RegistrationActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/thoughtcrime/securesms/RegistrationActivity.java b/src/org/thoughtcrime/securesms/RegistrationActivity.java index 0e289178c3..c8f5d172e7 100644 --- a/src/org/thoughtcrime/securesms/RegistrationActivity.java +++ b/src/org/thoughtcrime/securesms/RegistrationActivity.java @@ -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