Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
0xh3rman committed Jan 24, 2025
1 parent 4c05bb7 commit 28061ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ struct SelectAssetSceneNavigationStack: View {
wallet: model.wallet,
asset: input.asset,
navigationPath: $navigationPath,
onComplete: { _ in
onComplete: {
isPresentingSelectType = nil
}
)
Expand Down
8 changes: 5 additions & 3 deletions Gem/Root/Navigation/Staking/StakeNavigationView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ struct StakeNavigationView: View {

@Binding private var navigationPath: NavigationPath

private let onComplete: StringsAction
private let onComplete: VoidAction

init(
wallet: Wallet,
assetId: AssetId,
navigationPath: Binding<NavigationPath>,
onComplete: StringsAction
onComplete: VoidAction
) {
self.wallet = wallet
self.assetId = assetId
Expand Down Expand Up @@ -56,7 +56,9 @@ struct StakeNavigationView: View {
service: ChainServiceFactory(nodeProvider: nodeService)
.service(for: $0.recipientData.asset.chain),
walletsService: walletsService,
onComplete: onComplete
onComplete: { _ in
self.onComplete?()
}
)
)
}
Expand Down

0 comments on commit 28061ed

Please sign in to comment.