marinofaggiana 3 years ago
parent
commit
7551177476
1 changed files with 2 additions and 2 deletions
  1. 2 2
      iOSClient/Share/NCShare.swift

+ 2 - 2
iOSClient/Share/NCShare.swift

@@ -121,7 +121,7 @@ class NCShare: UIViewController, UIGestureRecognizerDelegate, NCShareLinkCellDel
         
         // changeTheming
         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()
     }
@@ -132,7 +132,7 @@ class NCShare: UIViewController, UIGestureRecognizerDelegate, NCShareLinkCellDel
         tableView.reloadData()
     }
     
-    @objc func sharePermissionChangePermissions(_ notification: NSNotification) {
+    @objc func changePermissions(_ notification: NSNotification) {
         
         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 {