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 cc65d5b commit 86fe96aCopy full SHA for 86fe96a
NextGrowingTextView/NextGrowingInternalTextView.swift
@@ -84,11 +84,11 @@ internal class NextGrowingInternalTextView: UITextView {
84
}
85
set {
86
if newValue {
87
- placeholderDisplayLabel.numberOfLines = 1
88
- placeholderDisplayLabel.adjustsFontSizeToFitWidth = true
89
- } else {
90
placeholderDisplayLabel.numberOfLines = 0
91
placeholderDisplayLabel.adjustsFontSizeToFitWidth = false
+ } else {
+ placeholderDisplayLabel.numberOfLines = 1
+ placeholderDisplayLabel.adjustsFontSizeToFitWidth = true
92
93
updatePlaceholder()
94
0 commit comments