Browse Source

Period

pull/2780/head
Benoit Marty 4 weeks ago
parent
commit
f807d578fa
  1. 2
      libraries/architecture/src/main/kotlin/io/element/android/libraries/architecture/ParentNodeExt.kt

2
libraries/architecture/src/main/kotlin/io/element/android/libraries/architecture/ParentNodeExt.kt

@ -51,7 +51,7 @@ suspend inline fun <reified N : Node, NavTarget : Any> ParentNode<NavTarget>.wai @@ -51,7 +51,7 @@ suspend inline fun <reified N : Node, NavTarget : Any> ParentNode<NavTarget>.wai
}
/**
* Wait for a child to be attached to the parent node, only using the NavTarget
* Wait for a child to be attached to the parent node, only using the NavTarget.
*/
suspend inline fun <NavTarget : Any> ParentNode<NavTarget>.waitForNavTargetAttached(crossinline predicate: (NavTarget) -> Boolean) =
suspendCancellableCoroutine { continuation ->

Loading…
Cancel
Save