Update API

This commit is contained in:
Ilya Laktyushin
2023-11-09 03:25:45 +04:00
parent 145c674185
commit 65ffd81904
10 changed files with 42 additions and 20 deletions

View File

@@ -905,6 +905,8 @@ public func universalServiceMessageString(presentationData: (PresentationTheme,
attributedString = addAttributesToStringWithRanges(resultTitleString._tuple, body: bodyAttributes, argumentAttributes: [0: boldAttributes])
case .joinedChannel:
attributedString = NSAttributedString(string: strings.Notification_ChannelJoinedByYou, font: titleBoldFont, textColor: primaryTextColor)
case let .giveawayResults(winners):
attributedString = NSAttributedString(string: strings.Notification_GiveawayResults(winners), font: titleFont, textColor: primaryTextColor)
case .unknown:
attributedString = nil
}