skip optimise privacy screen if user didnt change the selection the first time.
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/OptimisePrivacyViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/OptimisePrivacyViewModel.cs
@@ -54,6 +54,11 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Send
private void OnNext(TransactionInfo transactionInfo)
{
+ if (_requestedTransaction == SelectedPrivacySuggestion!.TransactionResult)
+ {
+ _transactionInfo.UserDidntRequestOptimisation = true;
+ }
+
Navigate().To(new TransactionPreviewViewModel(_wallet, transactionInfo,
SelectedPrivacySuggestion!.TransactionResult));
}
@@ -124,6 +129,12 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Send
SelectedPrivacySuggestion = _defaultSelection;
+ if (_transactionInfo.UserDidntRequestOptimisation)
+ {
+ Navigate().To(new TransactionPreviewViewModel(_wallet, _transactionInfo,
+ SelectedPrivacySuggestion!.TransactionResult));
+ }
+
IsBusy = false;
});
}

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/TransactionInfo.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/TransactionInfo.cs
@@ -26,5 +26,7 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Send
public IEnumerable<SmartCoin> Coins { get; set; } = Enumerable.Empty<SmartCoin>();
public IPayjoinClient? PayJoinClient { get; set; }
+
+ public bool UserDidntRequestOptimisation { get; set; }
}
}

skip optimise privacy screen if user didnt change the selection the first time.