Use context parameter for the parentNode
This commit is contained in:
parent
02dc71c4c3
commit
f174084942
138 changed files with 450 additions and 375 deletions
|
|
@ -16,7 +16,8 @@ import io.element.android.libraries.architecture.createNode
|
|||
|
||||
@ContributesBinding(AppScope::class)
|
||||
class DefaultSignedOutEntryPoint : SignedOutEntryPoint {
|
||||
override fun createNode(parentNode: Node, buildContext: BuildContext, params: SignedOutEntryPoint.Params): Node {
|
||||
context(parentNode: Node)
|
||||
override fun createNode(buildContext: BuildContext, params: SignedOutEntryPoint.Params): Node {
|
||||
return parentNode.createNode<SignedOutNode>(
|
||||
buildContext = buildContext,
|
||||
plugins = listOf(SignedOutNode.Inputs(params.sessionId))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue