Rename isNotifyAboutNewArticles to shouldSendUserNotificationForNewArticles

This commit is contained in:
Brent Simmons
2024-05-25 23:05:38 -07:00
parent 33215ba9e3
commit 401050465e
6 changed files with 19 additions and 19 deletions

View File

@@ -26,7 +26,7 @@ final class UserNotificationManager: Sendable {
Task { @MainActor in
for article in articles {
if !article.status.read, let feed = article.feed, feed.isNotifyAboutNewArticles ?? false {
if !article.status.read, let feed = article.feed, feed.shouldSendUserNotificationForNewArticles ?? false {
sendNotification(feed: feed, article: article)
}
}