- tweak: file managment
This commit is contained in:
@@ -3,13 +3,14 @@ namespace Nebula.Shared.Services;
|
||||
[ServiceRegister]
|
||||
public class PopupMessageService
|
||||
{
|
||||
public Action<object?>? OnPopupRequired;
|
||||
public Action<object>? OnPopupRequired;
|
||||
public Action<object>? OnCloseRequired;
|
||||
public void Popup(object obj)
|
||||
{
|
||||
OnPopupRequired?.Invoke(obj);
|
||||
}
|
||||
public void ClosePopup()
|
||||
public void ClosePopup(object obj)
|
||||
{
|
||||
OnPopupRequired?.Invoke(null);
|
||||
OnCloseRequired?.Invoke(obj);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user