Various fixes

This commit is contained in:
Ilya Laktyushin
2023-03-29 17:07:35 +04:00
parent a85c8073b1
commit d11ab57854
2 changed files with 4 additions and 5 deletions

View File

@@ -471,7 +471,7 @@ public final class ListMessageSnippetItemNode: ListMessageNode {
let host: String? = concealed ? urlString : parsedUrl?.host
if let url = parsedUrl, let host = host {
primaryUrl = urlString
title = NSAttributedString(string: tempTitleString as String, font: titleFont, textColor: item.presentationData.theme.theme.list.itemPrimaryTextColor)
title = NSAttributedString(string: (tempTitleString as String).uppercased(), font: titleFont, textColor: item.presentationData.theme.theme.list.itemPrimaryTextColor)
if url.path.hasPrefix("/addstickers/") {
iconText = NSAttributedString(string: "S", font: iconFont, textColor: UIColor.white)
} else if url.path.hasPrefix("/addemoji/") {