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
1 changed files with 1 additions and 0 deletions

View File

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