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/NCViewer.swift')
-rw-r--r--iOSClient/Viewer/NCViewer.swift2
1 files changed, 2 insertions, 0 deletions
diff --git a/iOSClient/Viewer/NCViewer.swift b/iOSClient/Viewer/NCViewer.swift
index fc594a630..1e36d2490 100644
--- a/iOSClient/Viewer/NCViewer.swift
+++ b/iOSClient/Viewer/NCViewer.swift
@@ -152,6 +152,8 @@ class NCViewer: NSObject {
if editor == NCGlobal.shared.editorOnlyoffice {
customUserAgent = NCUtility.shared.getCustomUserAgentOnlyOffice()
+ } else {
+ customUserAgent = NCUtility.shared.getCustomUserAgentNCText()
}
NCUtility.shared.startActivityIndicator(backgroundView: viewController.view, blurEffect: true)