diff options
author | Henrik Storch <henrik.storch@nextcloud.com> | 2022-05-03 15:50:28 +0300 |
---|---|---|
committer | Henrik Storch <henrik.storch@nextcloud.com> | 2022-05-04 14:56:40 +0300 |
commit | a7642e0ce03213399d2b12b82831d58cc5be38a6 (patch) | |
tree | ce8d463d4bea4e161a9c18a0b11b4b2ee898eae0 | |
parent | e41d5b2274e628749ff3c4afb6daf9fd8e965648 (diff) |
Remove debuggingfix/user-agent-text
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
-rw-r--r-- | NextcloudTests/UserAgentTests.swift | 1 | ||||
-rw-r--r-- | iOSClient/Utility/NCUtility.swift | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/NextcloudTests/UserAgentTests.swift b/NextcloudTests/UserAgentTests.swift index c9864bb2e..f66975c21 100644 --- a/NextcloudTests/UserAgentTests.swift +++ b/NextcloudTests/UserAgentTests.swift @@ -58,7 +58,6 @@ class UserAgentTests: XCTestCase { func matches(for regex: String, in text: String) throws -> [NSTextCheckingResult] { let range = NSRange(location: 0, length: text.utf16.count) - print(regex, text) let regex = try NSRegularExpression(pattern: regex) return regex.matches(in: text, range: range) } diff --git a/iOSClient/Utility/NCUtility.swift b/iOSClient/Utility/NCUtility.swift index 3716f8ea5..fbd676f5b 100644 --- a/iOSClient/Utility/NCUtility.swift +++ b/iOSClient/Utility/NCUtility.swift @@ -28,7 +28,6 @@ import NCCommunication import PDFKit import Accelerate import CoreMedia -import WebKit // MARK: - NCUtility @@ -310,7 +309,7 @@ class NCUtility: NSObject { let userAgent: String = CCUtility.getUserAgent() if UIDevice.current.userInterfaceIdiom == .phone { // NOTE: Hardcoded (May 2022) - // Tested for iPhone SE (1st), iOS 12; iPhone Pro Max, iOS 15.4; iPhone X, + // Tested for iPhone SE (1st), iOS 12; iPhone Pro Max, iOS 15.4 // 605.1.15 = WebKit build version // 15E148 = frozen iOS build number according to: https://chromestatus.com/feature/4558585463832576 return userAgent + " " + "AppleWebKit/605.1.15 Mobile/15E148" |