encyption wip
This commit is contained in:
@@ -17,8 +17,12 @@ public partial class CreateVaultViewModel(IServiceProvider provider,
|
||||
[ObservableProperty]
|
||||
private string name;
|
||||
|
||||
[MaybeNull]
|
||||
[ObservableProperty]
|
||||
private string password;
|
||||
|
||||
public async Task<bool> Confirm()
|
||||
{
|
||||
return await Mediator.Handle<Create<Vault>, bool>(Create.As(new Vault(Name, "")));
|
||||
return await Mediator.Handle<Create<Vault>, bool>(Create.As(new Vault(Name, Password)));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user