Migliorata gestione e visualizzazione notifiche
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using CommunityToolkit.Mvvm.Messaging;
|
||||
|
||||
namespace salesbook.Shared.Core.Messages.Notification.Loaded;
|
||||
|
||||
public class NotificationsLoadedService
|
||||
{
|
||||
public event Action? OnNotificationsLoaded;
|
||||
|
||||
public NotificationsLoadedService(IMessenger messenger)
|
||||
{
|
||||
messenger.Register<NotificationsLoadedMessage>(this, (_, _) => { OnNotificationsLoaded?.Invoke(); });
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user