Updated on 2026-08-14
This commit is contained in:
parent
0257c23494
commit
a2f10e3503
6 changed files with 81 additions and 10 deletions
|
|
@ -41,12 +41,6 @@ internal class WcSignUseCaseDelegate<MiddleAction, SignModel>(
|
|||
|
||||
operator fun invoke(initModel: SignModel) = channelFlow {
|
||||
val state = MutableStateFlow(WcSignState(initModel, WcSignStep.PreSign))
|
||||
analytics.send(
|
||||
WcAnalyticEvents.SignatureRequestReceived(
|
||||
rawRequest = context.rawSdkRequest,
|
||||
network = context.network,
|
||||
),
|
||||
)
|
||||
|
||||
state
|
||||
.onEach { newState -> channel.send(newState) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue