marinofaggiana %!s(int64=3) %!d(string=hai) anos
pai
achega
7551177476
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      iOSClient/Share/NCShare.swift

+ 2 - 2
iOSClient/Share/NCShare.swift

@@ -121,7 +121,7 @@ class NCShare: UIViewController, UIGestureRecognizerDelegate, NCShareLinkCellDel
         
         
         // changeTheming
         // changeTheming
         NotificationCenter.default.addObserver(self, selector: #selector(changeTheming), name: NSNotification.Name(rawValue: NCGlobal.shared.notificationCenterChangeTheming), object: nil)
         NotificationCenter.default.addObserver(self, selector: #selector(changeTheming), name: NSNotification.Name(rawValue: NCGlobal.shared.notificationCenterChangeTheming), object: nil)
-        NotificationCenter.default.addObserver(self, selector: #selector(sharePermissionChangePermissions(_:)), name: NSNotification.Name(rawValue: NCGlobal.shared.notificationCenterShareChangePermissions), object: nil)
+        NotificationCenter.default.addObserver(self, selector: #selector(changePermissions(_:)), name: NSNotification.Name(rawValue: NCGlobal.shared.notificationCenterShareChangePermissions), object: nil)
         
         
         changeTheming()
         changeTheming()
     }
     }
@@ -132,7 +132,7 @@ class NCShare: UIViewController, UIGestureRecognizerDelegate, NCShareLinkCellDel
         tableView.reloadData()
         tableView.reloadData()
     }
     }
     
     
-    @objc func sharePermissionChangePermissions(_ notification: NSNotification) {
+    @objc func changePermissions(_ notification: NSNotification) {
         
         
         if let userInfo = notification.userInfo as NSDictionary? {
         if let userInfo = notification.userInfo as NSDictionary? {
             if let idShare = userInfo["idShare"] as? Int, let permissions = userInfo["permissions"] as? Int, let hideDownload = userInfo["hideDownload"] as? Bool {
             if let idShare = userInfo["idShare"] as? Int, let permissions = userInfo["permissions"] as? Int, let hideDownload = userInfo["hideDownload"] as? Bool {