marinofaggiana 4 lat temu
rodzic
commit
2b6333c7d6

+ 2 - 1
iOSClient/Viewer/NCViewerImage/NCViewerImageZoom.swift

@@ -172,7 +172,8 @@ class NCViewerImageZoom: UIViewController {
 
             // OPEN DETAIL
             if dy < panDistanceForDetailView {
-                detailViewBottomConstraint.constant = imageViewBottomConstraint.constant - 40
+                let offsetBottom = self.view.safeAreaInsets.bottom - 10
+                detailViewBottomConstraint.constant = imageViewBottomConstraint.constant - offsetBottom
                 openDetailView = true
             }