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:
Diffstat (limited to 'iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift')
-rw-r--r--iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift b/iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift
index fce146909..2a214d50f 100644
--- a/iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift
+++ b/iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift
@@ -428,9 +428,9 @@ class NCPlayer: NSObject {
if let indicatorView = hud.indicatorView as? JGProgressHUDRingIndicatorView {
indicatorView.ringWidth = 1.5
}
- hud.show(in: view)
hud.textLabel.text = NSLocalizedString(metadata.fileNameView, comment: "")
hud.detailTextLabel.text = NSLocalizedString("_tap_to_cancel_", comment: "")
+ hud.show(in: view)
hud.tapOnHUDViewBlock = { hud in
downloadRequest?.cancel()
}