From e2a1eaa0d433efc5d19ecf6b42f2747d7f0e8f2f Mon Sep 17 00:00:00 2001 From: Igor Solomennikov Date: Tue, 13 Sep 2022 19:20:53 -0700 Subject: [PATCH] Do not hide link preview when editing text. --- .../src/ViewControllers/Photos/PhotoCaptureViewController.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/Signal/src/ViewControllers/Photos/PhotoCaptureViewController.swift b/Signal/src/ViewControllers/Photos/PhotoCaptureViewController.swift index 4154fd0bd8..d9f7edabcb 100644 --- a/Signal/src/ViewControllers/Photos/PhotoCaptureViewController.swift +++ b/Signal/src/ViewControllers/Photos/PhotoCaptureViewController.swift @@ -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) }