marinofaggiana 4 年之前
父节点
当前提交
81f7143168
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      iOSClient/AppDelegate.swift
  2. 1 1
      iOSClient/Networking/NCNetworkingNotificationCenter.swift

+ 1 - 1
iOSClient/AppDelegate.swift

@@ -35,7 +35,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
     
     var timerErrorNetworking: Timer?
     var documentPickerViewController: NCDocumentPickerViewController?
-    var shares: [String] = []
+    var shares: [tableShare] = []
 
     
     /*

+ 1 - 1
iOSClient/Networking/NCNetworkingNotificationCenter.swift

@@ -85,7 +85,7 @@ import Foundation
                                 
                             } else {
                                 
-                                if let viewController == self.appDelegate.activeViewController {
+                                if let viewController = self.appDelegate.activeViewController {
                                     NCViewer.shared.view(viewController: viewController, metadata: metadata, metadatas: [metadata])
                                 }
                             }