Remove context(parentNode: Node) and provide the parent Node as a parameter.
This commit is contained in:
parent
45400d70d2
commit
e70d767183
161 changed files with 668 additions and 436 deletions
|
|
@ -19,8 +19,12 @@ interface IncomingVerificationEntryPoint : FeatureEntryPoint {
|
|||
val verificationRequest: VerificationRequest.Incoming,
|
||||
) : NodeInputs
|
||||
|
||||
context(parentNode: Node)
|
||||
fun createNode(buildContext: BuildContext, params: Params, callback: Callback): Node
|
||||
fun createNode(
|
||||
parentNode: Node,
|
||||
buildContext: BuildContext,
|
||||
params: Params,
|
||||
callback: Callback,
|
||||
): Node
|
||||
|
||||
interface Callback : Plugin {
|
||||
fun onDone()
|
||||
|
|
|
|||
|
|
@ -20,8 +20,12 @@ interface OutgoingVerificationEntryPoint : FeatureEntryPoint {
|
|||
val verificationRequest: VerificationRequest.Outgoing,
|
||||
) : NodeInputs
|
||||
|
||||
context(parentNode: Node)
|
||||
fun createNode(buildContext: BuildContext, params: Params, callback: Callback): Node
|
||||
fun createNode(
|
||||
parentNode: Node,
|
||||
buildContext: BuildContext,
|
||||
params: Params,
|
||||
callback: Callback,
|
||||
): Node
|
||||
|
||||
interface Callback : Plugin {
|
||||
fun navigateToLearnMoreAboutEncryption()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue