From 27be6e632c1b5331e588e065c7e9d0a2f7cefff7 Mon Sep 17 00:00:00 2001 From: TheXamlGuy Date: Thu, 1 Aug 2024 22:45:10 +0100 Subject: [PATCH] Add the ability to clear validation errors --- Wallet/OpenWalletViewModel.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Wallet/OpenWalletViewModel.cs b/Wallet/OpenWalletViewModel.cs index 3867111..ac4c42c 100644 --- a/Wallet/OpenWalletViewModel.cs +++ b/Wallet/OpenWalletViewModel.cs @@ -40,6 +40,8 @@ public partial class OpenWalletViewModel : [RelayCommand] private async Task Invoke() { + Validation.Clear(); + using (await new ActivityLock(this)) { bool result = await Mediator.Handle>, bool>(Open.As(new Wallet(Password)));