mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Fix ISE in registration.
This commit is contained in:
committed by
Cody Henthorne
parent
f247fd78c6
commit
d309877d63
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user