mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
parent
5bfe64752e
commit
dff6997a65
@ -245,7 +245,7 @@ public class RegistrationActivity extends SherlockActivity {
|
||||
formattedNumber = countryFormatter.inputDigit(number.charAt(i));
|
||||
}
|
||||
|
||||
if (!s.toString().equals(formattedNumber)) {
|
||||
if (formattedNumber != null && !s.toString().equals(formattedNumber)) {
|
||||
s.replace(0, s.length(), formattedNumber);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user