Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ichthus1604 committed Apr 18, 2024
1 parent af6f0fd commit 77a3f6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using DynamicData.Binding;
using ReactiveUI;
using WalletWasabi.Blockchain.Analysis.Clustering;
using WalletWasabi.Fluent.Models.Transactions;
using WalletWasabi.Fluent.Models.Wallets;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Fluent.ViewModels.Wallets.Coins;
Expand Down Expand Up @@ -92,6 +93,9 @@ private async Task OnSendCoinsAsync()

// TODO: Remove this after TransactionPreviewViewModel is decoupled.
var walletVm = MainViewModel.Instance.NavBar.Wallets.First(x => x.Wallet.WalletName == _wallet.Name).WalletViewModel;
Navigate().To().TransactionPreview(walletVm.Wallet, _wallet, info);

var sendParameters = SendParameters.CreateManual(walletVm.Wallet, selectedSmartCoins);

Navigate().To().TransactionPreview(_wallet, sendParameters);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private async Task OnNextAsync()

var sendParameters = _parameters with { TransactionInfo = transactionInfo };

Navigate().To().TransactionPreview(_wallet, _walletModel, sendParameters);
Navigate().To().TransactionPreview(_walletModel, sendParameters);
}

private async Task OnAutoPasteAsync()
Expand Down

0 comments on commit 77a3f6a

Please sign in to comment.