mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Fix crash in change number flow.
This commit is contained in:
@@ -66,7 +66,9 @@ object E164Util {
|
||||
* value is needed for user display.
|
||||
*/
|
||||
@JvmStatic
|
||||
fun formatAsE164WithCountryCodeForDisplay(countryCode: String, input: String): String {
|
||||
fun formatAsE164WithCountryCodeForDisplay(countryCode: String, input: String?): String {
|
||||
val input = input ?: ""
|
||||
|
||||
val result: String? = formatAsE164WithCountryCode(countryCode, input)
|
||||
if (result != null) {
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user