remove unncessary sha1 dictionary, use new notification management
This commit is contained in:
@@ -108,12 +108,13 @@ public class NotificationService : DisposableMediatorSubscriberBase
|
||||
|
||||
private void ShowToast(NotificationMessage msg)
|
||||
{
|
||||
var notification = new Notification{
|
||||
_notificationManager.AddNotification(new Dalamud.Interface.ImGuiNotification.Notification()
|
||||
{
|
||||
Content = msg.Message ?? string.Empty,
|
||||
Title = "[LoporritSync] " + msg.Title,
|
||||
Title = msg.Title,
|
||||
Type = msg.Type,
|
||||
InitialDuration = TimeSpan.FromMilliseconds(msg.TimeShownOnScreen)
|
||||
};
|
||||
_notificationManager.AddNotification(notification);
|
||||
Minimized = false,
|
||||
InitialDuration = msg.TimeShownOnScreen ?? TimeSpan.FromSeconds(3)
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user