shortened condition
MODIFY
WalletWasabi.Fluent/ViewModels/CoinJoinProfiles/CoinJoinProfilesViewModel.cs
WalletWasabi.Fluent/ViewModels/CoinJoinProfiles/CoinJoinProfilesViewModel.cs
@@ -68,7 +68,7 @@ public partial class CoinJoinProfilesViewModel : DialogViewModelBase<bool>
var dialogResult = await NavigateDialogAsync(dialog, NavigationTarget.CompactDialogScreen);
- if (dialogResult.Result is ManualCoinJoinProfileDialogViewModel.ManualCoinJoinProfileDialogViewModelResult result && result.Profile != current)
+ if (dialogResult.Result is { } result && result.Profile != current)
{
SelectedProfile = null;
SelectedManualProfile = result.Profile;

shortened condition