mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-06-12 23:07:54 +02:00
Moved UpdateSettings to TrangaSettings
Added NotificaitonManager Added Gotify Added Notification on MonitorTask download new chapters
This commit is contained in:
@ -36,6 +36,9 @@ public class DownloadNewChaptersTask : TrangaTask
|
||||
taskManager.AddTask(newTask);
|
||||
this.childTasks.Add(newTask);
|
||||
}
|
||||
if(newChapters.Count > 0)
|
||||
foreach(NotificationManager nm in taskManager.settings.notificationManagers)
|
||||
nm.SendNotification(pub.sortName, $"Downloading {newChapters.Count} new Chapters.");
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
|
Reference in New Issue
Block a user