Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI] Add option to configure selectability of CJing coins #13006

Merged

Conversation

SuperJMN
Copy link
Collaborator

@SuperJMN SuperJMN commented May 9, 2024

It's now possible to decide if coins that are coinjoining can be selected or not.

Addresses comment #12893 (comment)

@SuperJMN SuperJMN requested a review from soosr May 9, 2024 07:35
Copy link
Collaborator

@soosr soosr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logic seems to inverted. When I set true I cannot select CJing coins, when it's false I can.

@@ -23,7 +23,7 @@ public partial class SelectCoinsDialogViewModel : DialogViewModelBase<IEnumerabl
{
public SelectCoinsDialogViewModel(IWalletModel wallet, IList<ICoinModel> selectedCoins, TransactionInfo transactionInfo)
{
CoinList = new CoinListViewModel(wallet, selectedCoins, true);
CoinList = new CoinListViewModel(wallet, selectedCoins, allowCoinjoiningCoinSelection: false, ignorePrivacyMode: true);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently, it is possible to select CJing coins on master, so should be true.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed both problems

Copy link
Collaborator

@soosr soosr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK

@soosr soosr merged commit 65baee5 into WalletWasabi:master May 10, 2024
6 of 8 checks passed
@SuperJMN SuperJMN deleted the features/configurable-cjing-coin-selection branch May 10, 2024 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants