mirror of
https://github.com/metabolist/metatext
synced 2024-12-29 03:01:07 +01:00
Prevent flash of text field
This commit is contained in:
parent
376c62e399
commit
872a8722af
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user