Parcourir la source

applicationhandle

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana il y a 1 an
Parent
commit
9d3ff11a9d

+ 1 - 1
ExternalResources/NCApplicationHandle.swift

@@ -80,6 +80,6 @@ class NCApplicationHandle: NSObject {
     }
 
     // class: NCNotification
-    func didSelectNotification(_ notification: NKNotifications) {
+    func didSelectNotification(_ notification: NKNotifications, viewController: UIViewController) {
     }
 }

+ 1 - 1
iOSClient/Notification/NCNotification.swift

@@ -159,7 +159,7 @@ class NCNotification: UITableViewController, NCNotificationCellDelegate, NCEmpty
                 }
             }
         } else {
-            NCApplicationHandle().didSelectNotification(notification)
+            NCApplicationHandle().didSelectNotification(notification, viewController: self)
         }
     }