diff --git a/Wallet/CreateWalletViewModel.cs b/Wallet/CreateWalletViewModel.cs index 948bc31..ad9b672 100644 --- a/Wallet/CreateWalletViewModel.cs +++ b/Wallet/CreateWalletViewModel.cs @@ -21,7 +21,12 @@ public partial class CreateWalletViewModel(IServiceProvider provider, [ObservableProperty] private string password; - public async Task Confirm() => - await Mediator.Handle>, - bool>(Create.As(new Wallet<(string, string)>((Name, Password)))); + public async Task Confirm() + { + using (await new ActivityLock(this)) + { + return await Mediator.Handle>, + bool>(Create.As(new Wallet<(string, string)>((Name, Password)))); + } + } } \ No newline at end of file