marinofaggiana 4 years ago
parent
commit
814a5da744
1 changed files with 2 additions and 2 deletions
  1. 2 2
      iOSClient/Networking/NCAutoUpload.swift

+ 2 - 2
iOSClient/Networking/NCAutoUpload.swift

@@ -143,9 +143,9 @@ class NCAutoUpload: NSObject, CLLocationManagerDelegate {
                 
                 if selector == NCBrandGlobal.shared.selectorUploadAutoUploadAll {
                     DispatchQueue.main.async {
-                        //self.hud = CCHud.init(view: self.appDelegate.window.rootViewController)
+                        self.hud = CCHud.init(view: self.appDelegate.window.rootViewController?.view)
                         NCContentPresenter.shared.messageNotification("_attention_", description: "_create_full_upload_", delay: NCBrandGlobal.shared.dismissAfterSecondLong, type: .info, errorCode: 0, forced: true)
-                        //self.hud?.visibleHudTitle(NSLocalizedString("_wait_", comment: ""), mode: MBProgressHUDMode.indeterminate, color: NCBrandColor.shared.brand)
+                        self.hud?.visibleHudTitle(NSLocalizedString("_wait_", comment: ""), mode: MBProgressHUDMode.indeterminate, color: NCBrandColor.shared.brand)
                     }
                 }