marinofaggiana 3 years ago
parent
commit
0785efc946
1 changed files with 0 additions and 4 deletions
  1. 0 4
      iOSClient/Share/NCShareUserMenuView.swift

+ 0 - 4
iOSClient/Share/NCShareUserMenuView.swift

@@ -181,12 +181,8 @@ class NCShareUserMenuView: UIView, UIGestureRecognizerDelegate, NCShareNetworkin
         if let info = notification?.userInfo, let centerObject = fieldNoteToRecipient.superview?.convert(fieldNoteToRecipient.center, to: nil) {
 
             let frameEndUserInfoKey = UIResponder.keyboardFrameEndUserInfoKey
-                    
-            //  Getting UIKeyboardSize.
             if let keyboardFrame = info[frameEndUserInfoKey] as? CGRect {
-                  
                 let diff = keyboardFrame.origin.y - centerObject.y - (fieldNoteToRecipient.frame.height / 2)
-                
                 if diff < 0 {
                     selfFrameOriginYDiff = diff
                     self.frame.origin.y += selfFrameOriginYDiff