Do not hide link preview when editing text.
This commit is contained in:
parent
4d55d95869
commit
e2a1eaa0d4
@ -1144,14 +1144,12 @@ extension PhotoCaptureViewController: UITextViewDelegate {
|
||||
func textViewDidBeginEditing(_ textView: UITextView) {
|
||||
updateBottomBarVisibility(animated: true)
|
||||
textViewContainerToolbar.setIsHidden(true, animated: true)
|
||||
linkPreviewWrapperView.setIsHidden(true, animated: true)
|
||||
updateTextEditorUI(animated: true)
|
||||
}
|
||||
|
||||
func textViewDidEndEditing(_ textView: UITextView) {
|
||||
updateBottomBarVisibility(animated: true)
|
||||
textViewContainerToolbar.setIsHidden(false, animated: true)
|
||||
linkPreviewWrapperView.setIsHidden(false, animated: true)
|
||||
updateTextEditorUI(animated: true)
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user