Prevent flash of text field

This commit is contained in:
Justin Mazzocchi 2021-02-16 21:32:13 -08:00
parent 376c62e399
commit 872a8722af
No known key found for this signature in database
GPG key ID: E223E6937AAFB01C

View file

@ -95,6 +95,7 @@ private extension CompositionView {
spoilerTextField.placeholder = NSLocalizedString("status.spoiler-text-placeholder", comment: "")
spoilerTextField.inputAccessoryView = spoilerTextinputAccessoryView
spoilerTextField.tag = spoilerTextinputAccessoryView.tagForInputView
spoilerTextField.isHidden_stackViewSafe = true
spoilerTextField.addAction(
UIAction { [weak self] _ in self?.spoilerTextFieldEditingChanged() },
for: .editingChanged)