Channel premium gifts

This commit is contained in:
Ilya Laktyushin
2023-09-29 13:23:14 +04:00
parent 30639d9a88
commit 4270261dd6
65 changed files with 5948 additions and 1225 deletions

View File

@@ -898,6 +898,8 @@ public func universalServiceMessageString(presentationData: (PresentationTheme,
let resultTitleString = strings.Notification_ChangedToSameWallpaper(compactAuthorName)
attributedString = addAttributesToStringWithRanges(resultTitleString._tuple, body: bodyAttributes, argumentAttributes: [0: boldAttributes])
}
case .giftCode:
attributedString = NSAttributedString(string: "Gift code", font: titleFont, textColor: primaryTextColor)
case .unknown:
attributedString = nil
}