marinofaggiana 5 жил өмнө
parent
commit
eb6e6f9e84

+ 2 - 2
iOSClient/Share/NCShareCommon.swift

@@ -95,8 +95,8 @@ class NCShareCommon: NSObject {
         var shareUserMenuView: NCShareUserMenuView
         let window = UIApplication.shared.keyWindow!
         let viewWindow = UIView(frame: window.bounds)
-        //let globalPoint = shareViewController.view.superview?.convert(shareViewController.view.frame.origin, to: nil)
-        //let constantTrailingAnchor = window.bounds.width - shareViewController.view.bounds.width - globalPoint!.x + 40
+//        let globalPoint = shareViewController.view.superview?.convert(shareViewController.view.frame.origin, to: nil)
+//        let constantTrailingAnchor = window.bounds.width - shareViewController.view.bounds.width - globalPoint!.x + 40
         var constantBottomAnchor: CGFloat = 10
         if #available(iOS 11.0, *) {
             constantBottomAnchor = constantBottomAnchor + UIApplication.shared.keyWindow!.safeAreaInsets.bottom