mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-06-26 08:16:15 -04:00
17 lines
353 B
C#
17 lines
353 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace HangoverAvalonia.ViewModels;
|
|
|
|
public partial class MainVM
|
|
{
|
|
public TrashBinViewModel TrashBinViewModel { get; } = new();
|
|
|
|
private void Load_deletedVM()
|
|
{
|
|
TrashBinViewModel.ConfirmDbMutationAsync = action
|
|
=> ConfirmDbMutationAsync is { } confirm
|
|
? confirm(action)
|
|
: Task.FromResult(true);
|
|
}
|
|
}
|