Drop attempt to fade in the supplementary interface

sometimes it just stayed hidden?
This commit is contained in:
Jed Fox 2022-11-14 21:50:38 -05:00
parent ac28c2ee4f
commit 5277ec191b
No known key found for this signature in database
GPG Key ID: 0B61D18EA54B47E1
1 changed files with 0 additions and 5 deletions

View File

@ -72,7 +72,6 @@ extension MediaPreviewImageView {
doubleTapGestureRecognizer.addTarget(self, action: #selector(MediaPreviewImageView.doubleTapGestureRecognizerHandler(_:)))
imageView.addGestureRecognizer(doubleTapGestureRecognizer)
if #available(iOS 16.0, *) {
liveTextInteraction.isSupplementaryInterfaceHidden = true
imageView.addInteraction(liveTextInteraction)
}
@ -154,10 +153,6 @@ extension MediaPreviewImageView {
await MainActor.run {
self.liveTextInteraction.analysis = analysis
self.liveTextInteraction.preferredInteractionTypes = .automatic
if self.liveTextInteraction.isSupplementaryInterfaceHidden {
self.liveTextInteraction.setSupplementaryInterfaceHidden(false, animated: true)
}
}
} catch {
await MainActor.run {