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 /iOSClient | |
parent | fffc007eabb3212cfece5e00a5a78c2e0a3fa65a (diff) |
Build 15
Signed-off-by: marinofaggiana <ios@nextcloud.com>
Diffstat (limited to 'iOSClient')
-rw-r--r-- | iOSClient/Main/NCFunctionCenter.swift | 2 |
1 files changed, 2 insertions, 0 deletions
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 |