Fix crash in change number flow.

This commit is contained in:
Greyson Parrelli
2025-03-12 12:05:53 -04:00
parent 481dc162d8
commit 0077be4abc

View File

@@ -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