Skip to content

Commit f2115f2

Browse files
committed
Topic hat update notification support
1 parent dc03e2b commit f2115f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/Sources/NotificationsClient/NotificationsClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ extension NotificationsClient: DependencyKey {
224224
content.title = "Новое на форуме"
225225
content.body = item.name
226226
case .topic:
227-
content.title = "\(item.authorName.convertCodes()) в теме"
227+
content.title = item.unreadCount & 4 != 0 ? "Обновилась шапка" : "\(item.authorName.convertCodes()) в теме"
228228
content.body = item.name
229229
case .forumMention:
230230
content.title = "Упоминание в теме \(item.name)"

0 commit comments

Comments
 (0)