Fix ISE in registration.

This commit is contained in:
Nicholas Tinsley
2024-07-12 15:36:11 -04:00
committed by Cody Henthorne
parent f247fd78c6
commit d309877d63

View File

@@ -15,5 +15,9 @@ fun PhoneNumber.toE164(): String {
}
fun Fragment.isBindingInvalid(): Boolean {
if (view == null) {
return false
}
return viewLifecycleOwner.lifecycle.currentState.isAtLeast(Lifecycle.State.INITIALIZED)
}