Changing to only load vaults on demand
This commit is contained in:
@@ -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)));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user