diff --git a/WalletWasabi.Fluent/ViewModels/Wallets/Advanced/WalletCoinsViewModel.cs b/WalletWasabi.Fluent/ViewModels/Wallets/Advanced/WalletCoinsViewModel.cs index 324edf0feb4..9ba91c2ce0c 100644 --- a/WalletWasabi.Fluent/ViewModels/Wallets/Advanced/WalletCoinsViewModel.cs +++ b/WalletWasabi.Fluent/ViewModels/Wallets/Advanced/WalletCoinsViewModel.cs @@ -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; @@ -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); } } diff --git a/WalletWasabi.Fluent/ViewModels/Wallets/Send/SendViewModel.cs b/WalletWasabi.Fluent/ViewModels/Wallets/Send/SendViewModel.cs index 9d387cb5b6d..bbb7ca85502 100644 --- a/WalletWasabi.Fluent/ViewModels/Wallets/Send/SendViewModel.cs +++ b/WalletWasabi.Fluent/ViewModels/Wallets/Send/SendViewModel.cs @@ -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()