get rid of method with strange name.
MODIFY
WalletWasabi.Gui/ViewModels/MainWindowViewModel.cs
WalletWasabi.Gui/ViewModels/MainWindowViewModel.cs
@@ -116,14 +116,11 @@ namespace WalletWasabi.Gui.ViewModels
.WhenAnyValue(x => x.LockScreenActive)
.Where(x => x)
.ObserveOn(RxApp.MainThreadScheduler)
- .Subscribe(_ => CheckLockScreenType(uiConfig.LockScreenPinHash));
- }
-
- private void CheckLockScreenType(string currentHash)
+ .Subscribe(_ =>
{
LockScreen?.Dispose();
- if (currentHash.Length == 0)
+ if (uiConfig.LockScreenPinHash.Length == 0)
{
LockScreen = new SlideLockScreenViewModel();
}
@@ -131,6 +128,7 @@ namespace WalletWasabi.Gui.ViewModels
{
LockScreen = new PinLockScreenViewModel();
}
+ });
}
private void DisplayWalletManager()

get rid of method with strange name.