Charts improvements

This commit is contained in:
Ilya Laktyushin
2020-03-21 03:19:05 +04:00
parent c5d39df2b3
commit d6f0a02fc7
59 changed files with 4448 additions and 4271 deletions

View File

@@ -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 {