simplify + inline
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryItems/CoinJoinsHistoryItemViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryItems/CoinJoinsHistoryItemViewModel.cs
@@ -18,8 +18,7 @@ public class CoinJoinsHistoryItemViewModel : HistoryItemViewModelBase
FilteredLabel = new List<string>();
IsCoinJoin = true;
- ShowDetailsCommand = ReactiveCommand.Create(() =>
- RoutableViewModel.Navigate(NavigationTarget.DialogScreen).To(new CoinJoinDetailsViewModel(this)));
+ ShowDetailsCommand = ReactiveCommand.Create(() => RoutableViewModel.Navigate(NavigationTarget.DialogScreen).To(new CoinJoinDetailsViewModel(this)));
Add(firstItem);
}

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/WalletViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/WalletViewModel.cs
@@ -111,11 +111,9 @@ public partial class WalletViewModel : WalletViewModelBase
this.WhenAnyValue(x => x.HeightSource)
.Subscribe(x => LayoutSelector(_widthSource, x));
- SendCommand = ReactiveCommand.Create(() => RoutableViewModel.Navigate(NavigationTarget.DialogScreen)
- .To(new SendViewModel(wallet)));
+ SendCommand = ReactiveCommand.Create(() => Navigate(NavigationTarget.DialogScreen).To(new SendViewModel(wallet)));
- ReceiveCommand = ReactiveCommand.Create(() => RoutableViewModel.Navigate(NavigationTarget.DialogScreen)
- .To(new ReceiveViewModel(wallet)));
+ ReceiveCommand = ReactiveCommand.Create(() => Navigate(NavigationTarget.DialogScreen).To(new ReceiveViewModel(wallet)));
WalletInfoCommand = ReactiveCommand.CreateFromTask(async () =>
{

simplify + inline