소스 검색

new handle

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 1 년 전
부모
커밋
46e90030d0
2개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      ExternalResources/NCApplicationHandle.swift
  2. 2 0
      iOSClient/Notification/NCNotification.swift

+ 4 - 0
ExternalResources/NCApplicationHandle.swift

@@ -78,4 +78,8 @@ class NCApplicationHandle: NSObject {
     func filterPages(pages: [NCBrandOptions.NCInfoPagingTab], page: NCBrandOptions.NCInfoPagingTab, metadata: tableMetadata) -> ([NCBrandOptions.NCInfoPagingTab], NCBrandOptions.NCInfoPagingTab) {
         return (pages, page)
     }
+
+    // class: NCNotification
+    func didSelectNotification(_ notification: NKNotifications) {
+    }
 }

+ 2 - 0
iOSClient/Notification/NCNotification.swift

@@ -158,6 +158,8 @@ class NCNotification: UITableViewController, NCNotificationCellDelegate, NCEmpty
                     NCContentPresenter.shared.showError(error: error)
                 }
             }
+        } else {
+            NCApplicationHandle().didSelectNotification(notification)
         }
     }