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