Kaynağa Gözat

new handle

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 1 yıl önce
ebeveyn
işleme
46e90030d0

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