소스 검색

applicationhandle

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 년 전
부모
커밋
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)
         }
     }