Merge branch 'beta' of gitlab.com:peter-iakovlev/telegram-ios into beta

This commit is contained in:
Ilya Laktyushin
2019-11-12 18:56:18 +04:00
95 changed files with 5211 additions and 4716 deletions

View File

@@ -51,7 +51,7 @@ public func stringWithAppliedEntities(_ text: String, entities: [MessageTextEnti
let string = NSMutableAttributedString(string: text, attributes: [NSAttributedString.Key.font: baseFont, NSAttributedString.Key.foregroundColor: baseColor])
var skipEntity = false
var underlineAllLinks = false
if linkColor.isEqual(baseColor) {
if linkColor.argb == baseColor.argb {
underlineAllLinks = true
}
var fontAttributes: [NSRange: ChatTextFontAttributes] = [:]