diff --git a/Box42.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Box42.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved deleted file mode 100644 index 19d4e8c..0000000 --- a/Box42.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ /dev/null @@ -1,16 +0,0 @@ -{ - "object": { - "pins": [ - { - "package": "SnapKit", - "repositoryURL": "https://github.com/SnapKit/SnapKit.git", - "state": { - "branch": null, - "revision": "f222cbdf325885926566172f6f5f06af95473158", - "version": "5.6.0" - } - } - ] - }, - "version": 1 -} diff --git a/Box42/Main/BoxBaseContainerViewController.swift b/Box42/Main/BoxBaseContainerViewController.swift index abd8ce9..dda231d 100644 --- a/Box42/Main/BoxBaseContainerViewController.swift +++ b/Box42/Main/BoxBaseContainerViewController.swift @@ -523,12 +523,14 @@ extension BoxBaseContainerViewController { } if button.title == QuickSlotUI.title.user { - print("Button with title \(button.title) was tapped in BaseVC") - contentGroup.removeAllSubviews() - print(WebViewManager.shared.hostingWebView!) - contentGroup.addSubview(WebViewManager.shared.hostingWebView!) - WebViewManager.shared.hostingWebView!.snp.makeConstraints { make in - make.top.bottom.left.right.equalToSuperview() + if let url = URL(string: "x-apple.systempreferences:com.apple.preference.keyboard") { + NSWorkspace.shared.open(url) + + DispatchQueue.main.asyncAfter(deadline: .now() + 3.0) { + if let url = URL(string: "x-apple.systempreferences:com.apple.preference.general") { + NSWorkspace.shared.open(url) + } + } } } }