diff --git a/Packages/GalleryVC/Sources/GalleryVC/GalleryItemViewController.swift b/Packages/GalleryVC/Sources/GalleryVC/GalleryItemViewController.swift index c8c10953c5..01e348d303 100644 --- a/Packages/GalleryVC/Sources/GalleryVC/GalleryItemViewController.swift +++ b/Packages/GalleryVC/Sources/GalleryVC/GalleryItemViewController.swift @@ -180,6 +180,8 @@ class GalleryItemViewController: UIViewController { captionTextView.heightAnchor.constraint(equalToConstant: 150), ]) + updateTopControlsInsets() + singleTap = UITapGestureRecognizer(target: self, action: #selector(viewPressed)) singleTap.delegate = self doubleTap = UITapGestureRecognizer(target: self, action: #selector(viewDoublePressed)) @@ -366,6 +368,11 @@ class GalleryItemViewController: UIViewController { shareButtonTopConstraint.constant = 24 closeButtonTrailingConstraint.constant = 24 closeButtonTopConstraint.constant = 24 + } else { + shareButtonLeadingConstraint.constant = 8 + shareButtonTopConstraint.constant = 8 + closeButtonTrailingConstraint.constant = 8 + closeButtonTopConstraint.constant = 8 } }