mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Quick fixes
This commit is contained in:
@@ -129,8 +129,8 @@ private final class TooltipScreenNode: ViewControllerTracingNode {
|
||||
openActiveTextItem(.textMention(mention), .tap)
|
||||
} else if let command = attributes[NSAttributedString.Key(rawValue: TelegramTextAttributes.BotCommand)] as? String {
|
||||
openActiveTextItem(.botCommand(command), .tap)
|
||||
} else if let hashtag = attributes[NSAttributedString.Key(rawValue: TelegramTextAttributes.Hashtag)] as? String {
|
||||
openActiveTextItem(.hashtag(hashtag), .tap)
|
||||
} else if let hashtag = attributes[NSAttributedString.Key(rawValue: TelegramTextAttributes.Hashtag)] as? TelegramHashtag {
|
||||
openActiveTextItem(.hashtag(hashtag.hashtag), .tap)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -146,8 +146,8 @@ private final class TooltipScreenNode: ViewControllerTracingNode {
|
||||
openActiveTextItem(.textMention(mention), .longTap)
|
||||
} else if let command = attributes[NSAttributedString.Key(rawValue: TelegramTextAttributes.BotCommand)] as? String {
|
||||
openActiveTextItem(.botCommand(command), .longTap)
|
||||
} else if let hashtag = attributes[NSAttributedString.Key(rawValue: TelegramTextAttributes.Hashtag)] as? String {
|
||||
openActiveTextItem(.hashtag(hashtag), .longTap)
|
||||
} else if let hashtag = attributes[NSAttributedString.Key(rawValue: TelegramTextAttributes.Hashtag)] as? TelegramHashtag {
|
||||
openActiveTextItem(.hashtag(hashtag.hashtag), .longTap)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user