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.
1 parent 7731adc commit 3322107Copy full SHA for 3322107
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