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