Update WalletWasabi.Gui/ViewModels/MainWindowViewModel.cs
MODIFY
WalletWasabi.Gui/ViewModels/MainWindowViewModel.cs
WalletWasabi.Gui/ViewModels/MainWindowViewModel.cs
@@ -106,7 +106,7 @@ namespace WalletWasabi.Gui.ViewModels
public void PushLockScreen(LockScreenViewModelBase lockScreen)
{
- if (LockScreen != null)
+ if (LockScreen is { })
{
_lockScreens.Push(LockScreen);
}

Update WalletWasabi.Gui/ViewModels/MainWindowViewModel.cs

Co-Authored-By: yahiheb <52379387+yahiheb@users.noreply.github.com>