Add CoinJoinSettingsViewModel
MODIFY
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
@@ -198,6 +198,16 @@ public partial class MainViewModel : ViewModelBase
return null;
});
+
+ CoinJoinSettingsViewModel.RegisterLazy(() =>
+ {
+ if (UiServices.WalletManager.SelectedWallet is WalletViewModel walletViewModel && !walletViewModel.IsWatchOnly)
+ {
+ return walletViewModel.CoinJoinSettings;
+ }
+
+ return null;
+ });
}
public void ApplyUiConfigWindowSate()

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/CoinJoinSettingsViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/CoinJoinSettingsViewModel.cs
@@ -11,7 +11,15 @@ using WalletWasabi.Wallets;
namespace WalletWasabi.Fluent.ViewModels.Wallets;
-[NavigationMetaData(Title = "Coinjoin Settings")]
+[NavigationMetaData(
+ Title = "Coinjoin Settings",
+ Caption = "Displays wallet coinjoin settings",
+ IconName = "nav_wallet_24_regular",
+ Order = 1,
+ Category = "Wallet",
+ Keywords = new[] { "Wallet", "Settings", },
+ NavBarPosition = NavBarPosition.None,
+ NavigationTarget = NavigationTarget.DialogScreen)]
public partial class CoinJoinSettingsViewModel : RoutableViewModel
{
private readonly Wallet _wallet;

Add CoinJoinSettingsViewModel