No need for ImageDescriptorToBitmapConverter

This commit is contained in:
TheXamlGuy
2024-06-29 18:19:24 +01:00
parent cfa7567395
commit 8f32ef5274
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ public partial class CreateWalletViewModel :
IPrimaryConfirmation
{
[ObservableProperty]
private IImageDescriptor? image;
private IImageDescriptor? imageDescriptor;
[ObservableProperty]
private bool isConfirmed;
@@ -62,7 +62,7 @@ public partial class CreateWalletViewModel :
}
[RelayCommand]
public async Task Import() => Image = await Mediator.Handle<RequestEventArgs<ProfileImage>,
public async Task Import() => ImageDescriptor = await Mediator.Handle<RequestEventArgs<ProfileImage>,
IImageDescriptor>(Request.As<ProfileImage>());
protected override void OnPropertyChanged(PropertyChangedEventArgs args)