Various fixes

This commit is contained in:
Ilya Laktyushin
2023-07-17 22:07:12 +02:00
parent 42be53c03a
commit 1f1d8d90c0
5 changed files with 38 additions and 12 deletions

View File

@@ -505,6 +505,10 @@ public final class TextFieldComponent: Component {
self.textView.resignFirstResponder()
}
public var isActive: Bool {
return self.textView.isFirstResponder
}
private var spoilersRevealed = false
private var spoilerIsDisappearing = false
private func updateSpoilersRevealed(animated: Bool = true) {