Преглед на файлове

applicationhandle

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana преди 1 година
родител
ревизия
9d3ff11a9d
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      ExternalResources/NCApplicationHandle.swift
  2. 1 1
      iOSClient/Notification/NCNotification.swift

+ 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)
         }
     }