Bug fixes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
using Toolkit.Foundation;
|
||||
|
||||
namespace Wallet;
|
||||
@@ -77,6 +78,15 @@ public partial class WalletNavigationViewModel :
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
private async Task Lock()
|
||||
{
|
||||
if (await Mediator.Handle<CloseEventArgs<Wallet>, bool>(Close.As<Wallet>()))
|
||||
{
|
||||
IsOpened = false;
|
||||
}
|
||||
}
|
||||
|
||||
public Task Handle(ActivatedEventArgs<Wallet> args)
|
||||
{
|
||||
IsActivated = true;
|
||||
|
||||
Reference in New Issue
Block a user