More renaming

This commit is contained in:
TheXamlGuy
2024-06-16 15:48:53 +01:00
parent 60cffc2e5a
commit ee997d888f
20 changed files with 53 additions and 32 deletions
+8 -2
View File
@@ -5,7 +5,8 @@ using Toolkit.Foundation;
namespace Wallet;
public partial class CreateWalletViewModel : Observable,
public partial class CreateWalletViewModel :
Observable,
IPrimaryConfirmation
{
[MaybeNull]
@@ -23,6 +24,9 @@ public partial class CreateWalletViewModel : Observable,
[ObservableProperty]
private IValidation validation;
[ObservableProperty]
private bool isConfirmed;
public CreateWalletViewModel(IValidation validation,
IServiceProvider provider,
IServiceFactory factory,
@@ -46,8 +50,10 @@ public partial class CreateWalletViewModel : Observable,
{
using (await new ActivityLock(this))
{
return await Mediator.Handle<CreateEventArgs<Wallet<(string, string)>>,
IsConfirmed = await Mediator.Handle<CreateEventArgs<Wallet<(string, string)>>,
bool>(Create.As(new Wallet<(string, string)>((Name, Password))));
return IsConfirmed;
}
}