mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Charts improvements
This commit is contained in:
@@ -1881,8 +1881,7 @@ class ChatListItemNode: ItemListRevealOptionsItemNode {
|
||||
}
|
||||
|
||||
private func foldLineBreaks(_ text: String) -> String {
|
||||
var lines = text.split { $0.isNewline }
|
||||
var startedBothLines = false
|
||||
let lines = text.split { $0.isNewline }
|
||||
var result = ""
|
||||
for line in lines {
|
||||
if line.isEmpty {
|
||||
|
||||
Reference in New Issue
Block a user