We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7731adc + 3322107 commit 369252eCopy full SHA for 369252e
Source/Views/InfoLabel.swift
@@ -50,7 +50,7 @@ open class InfoLabel: UILabel {
50
51
// Perform quick "rough cut"
52
while numberOfLines(truncatedText) > numberOfVisibleLines * 2 {
53
- truncatedText = String(truncatedText.characters.prefix(truncatedText.characters.count / 2))
+ truncatedText = String(truncatedText.prefix(truncatedText.count / 2))
54
}
55
56
// Capture the endIndex of truncatedText before appending ellipsis
0 commit comments