diff options
author | marinofaggiana <ios@nextcloud.com> | 2022-08-04 14:49:45 +0300 |
---|---|---|
committer | marinofaggiana <ios@nextcloud.com> | 2022-08-04 14:49:45 +0300 |
commit | ec6d578772ce85a9d39f03eb985423deb1863052 (patch) | |
tree | 6f41978fc1de6f15eb075bb5071229dbca60d2bf | |
parent | fffc007eabb3212cfece5e00a5a78c2e0a3fa65a (diff) |
Build 15
Signed-off-by: marinofaggiana <ios@nextcloud.com>
-rw-r--r-- | Nextcloud.xcodeproj/project.pbxproj | 4 | ||||
-rw-r--r-- | iOSClient/Main/NCFunctionCenter.swift | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Nextcloud.xcodeproj/project.pbxproj b/Nextcloud.xcodeproj/project.pbxproj index 168e029a8..009689bc0 100644 --- a/Nextcloud.xcodeproj/project.pbxproj +++ b/Nextcloud.xcodeproj/project.pbxproj @@ -2997,7 +2997,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 14; + CURRENT_PROJECT_VERSION = 15; DEVELOPMENT_TEAM = 6JLRKY9ZV7; ENABLE_BITCODE = YES; ENABLE_STRICT_OBJC_MSGSEND = YES; @@ -3060,7 +3060,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 14; + CURRENT_PROJECT_VERSION = 15; DEVELOPMENT_TEAM = 6JLRKY9ZV7; ENABLE_BITCODE = YES; ENABLE_STRICT_OBJC_MSGSEND = YES; diff --git a/iOSClient/Main/NCFunctionCenter.swift b/iOSClient/Main/NCFunctionCenter.swift index 638a73989..fcfeb2fbd 100644 --- a/iOSClient/Main/NCFunctionCenter.swift +++ b/iOSClient/Main/NCFunctionCenter.swift @@ -179,7 +179,9 @@ import Photos func openShare(viewController: UIViewController, metadata: tableMetadata, indexPage: NCGlobal.NCSharePagingIndex) { let serverUrlFileName = metadata.serverUrl + "/" + metadata.fileName + NCUtility.shared.startActivityIndicator(backgroundView: viewController.view, blurEffect: false) NCNetworking.shared.readFile(serverUrlFileName: serverUrlFileName, queue: .main) { account, metadata, errorCode, errorDescription in + NCUtility.shared.stopActivityIndicator() if let metadata = metadata, errorCode == 0 { let shareNavigationController = UIStoryboard(name: "NCShare", bundle: nil).instantiateInitialViewController() as! UINavigationController let shareViewController = shareNavigationController.topViewController as! NCSharePaging |