Do not hide link preview when editing text.

This commit is contained in:
Igor Solomennikov 2022-09-13 19:20:53 -07:00 committed by Nora Trapp
parent 4d55d95869
commit e2a1eaa0d4

View File

@ -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)
}