set CanUndo before building suggestions
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/TransactionPreviewViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/TransactionPreviewViewModel.cs
@@ -140,8 +140,8 @@ public partial class TransactionPreviewViewModel : RoutableViewModel
{
_info = previous.Item2;
UpdateTransaction(CurrentTransactionSummary, previous.Item1, false);
- await PrivacySuggestions.BuildPrivacySuggestionsAsync(_wallet, _info, _destination, previous.Item1, _isFixedAmount, _cancellationTokenSource.Token);
CanUndo = _undoHistory.Any();
+ await PrivacySuggestions.BuildPrivacySuggestionsAsync(_wallet, _info, _destination, previous.Item1, _isFixedAmount, _cancellationTokenSource.Token);
}
});
}

set CanUndo before building suggestions