Add nullabilty to OpenWallet image
This commit is contained in:
@@ -5,7 +5,8 @@ using Toolkit.Foundation;
|
|||||||
|
|
||||||
namespace Wallet;
|
namespace Wallet;
|
||||||
|
|
||||||
public partial class OpenWalletViewModel : Observable
|
public partial class OpenWalletViewModel :
|
||||||
|
Observable
|
||||||
{
|
{
|
||||||
[ObservableProperty]
|
[ObservableProperty]
|
||||||
private IValidation validation;
|
private IValidation validation;
|
||||||
@@ -14,7 +15,7 @@ public partial class OpenWalletViewModel : Observable
|
|||||||
private string? name;
|
private string? name;
|
||||||
|
|
||||||
[ObservableProperty]
|
[ObservableProperty]
|
||||||
private IImageDescriptor imageDescriptor;
|
private IImageDescriptor? imageDescriptor;
|
||||||
|
|
||||||
[MaybeNull]
|
[MaybeNull]
|
||||||
[ObservableProperty]
|
[ObservableProperty]
|
||||||
@@ -28,7 +29,7 @@ public partial class OpenWalletViewModel : Observable
|
|||||||
ISubscriber subscriber,
|
ISubscriber subscriber,
|
||||||
IDisposer disposer,
|
IDisposer disposer,
|
||||||
string name,
|
string name,
|
||||||
IImageDescriptor imageDescriptor) : base(provider, factory, mediator, publisher, subscriber, disposer)
|
IImageDescriptor? imageDescriptor = default) : base(provider, factory, mediator, publisher, subscriber, disposer)
|
||||||
{
|
{
|
||||||
this.validation = validation;
|
this.validation = validation;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user