marinofaggiana 3 lat temu
rodzic
commit
4e6c3a6bb4

+ 2 - 1
iOSClient/Share/NCShare.swift

@@ -392,7 +392,8 @@ class NCShare: UIViewController, UIGestureRecognizerDelegate, NCShareLinkCellDel
             self!.networking?.createShare(shareWith: sharee.shareWith, shareType: sharee.shareType, metadata: self!.metadata!)
         }
         
-        dropDown.show()
+        let window = UIApplication.shared.keyWindow
+        dropDown.show(onTopOf: window, beforeTransform: nil, anchorPoint: nil)
     }
 }
 

+ 2 - 1
iOSClient/UserStatus/NCUserStatus.swift

@@ -318,7 +318,8 @@ class NCUserStatus: UIViewController {
         
         clearStatusMessageAfterText.text = " " + NSLocalizedString("_select_option_", comment: "")
         
-        dropDown.show()
+        let window = UIApplication.shared.keyWindow
+        dropDown.show(onTopOf: window, beforeTransform: nil, anchorPoint: nil)
     }
     
     @IBAction func actionClearStatusMessage(_ sender: UIButton) {