Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ios.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarinofaggiana <ios@nextcloud.com>2022-08-04 14:49:45 +0300
committermarinofaggiana <ios@nextcloud.com>2022-08-04 14:49:45 +0300
commitec6d578772ce85a9d39f03eb985423deb1863052 (patch)
tree6f41978fc1de6f15eb075bb5071229dbca60d2bf /iOSClient
parentfffc007eabb3212cfece5e00a5a78c2e0a3fa65a (diff)
Build 15
Signed-off-by: marinofaggiana <ios@nextcloud.com>
Diffstat (limited to 'iOSClient')
-rw-r--r--iOSClient/Main/NCFunctionCenter.swift2
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