Changing to only load vaults on demand

This commit is contained in:
TheXamlGuy
2024-04-27 14:24:28 +01:00
parent 270268cc59
commit 20840cbf9c
12 changed files with 39 additions and 40 deletions
+1 -2
View File
@@ -19,7 +19,6 @@ public partial class CreateVaultViewModel(IServiceProvider provider,
public async Task<bool> Confirm()
{
await Publisher.Publish(Create.As(new Vault(Name)));
return true;
return await Mediator.Handle<Create<Vault>, bool>(Create.As(new Vault(Name)));
}
}