mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
[ASTextNode] Fix default ellipsis not showing for line breaks
This commit is contained in:
@@ -1120,6 +1120,10 @@ static NSAttributedString *DefaultTruncationAttributedString()
|
||||
*/
|
||||
- (NSAttributedString *)_composedTruncationString
|
||||
{
|
||||
//If we have neither return the default
|
||||
if (!_additionalTruncationMessage && !_truncationAttributedString) {
|
||||
return _composedTruncationString;
|
||||
}
|
||||
// Short circuit if we only have one or the other.
|
||||
if (!_additionalTruncationMessage) {
|
||||
return _truncationAttributedString;
|
||||
|
||||
Reference in New Issue
Block a user