зеркало из https://github.com/nextcloud/ios.git
Remove debugging
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
This commit is contained in:
Родитель
e41d5b2274
Коммит
a7642e0ce0
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче