File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Sources/SwiftBoost/UIKit/Extensions Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,9 @@ public extension UIApplication {
1212 var buildNumber : String ? { Bundle . main. object ( forInfoDictionaryKey: kCFBundleVersionKey as String ) as? String }
1313
1414 func openSettings( ) {
15- DispatchQueue . main. async {
16- guard let settingsUrl = URL ( string: UIApplication . openSettingsURLString) else { return }
17- if UIApplication . shared. canOpenURL ( settingsUrl) {
18- UIApplication . shared. open ( settingsUrl, completionHandler: { _ in } )
19- }
15+ guard let settingsUrl = URL ( string: UIApplication . openSettingsURLString) else { return }
16+ if UIApplication . shared. canOpenURL ( settingsUrl) {
17+ UIApplication . shared. open ( settingsUrl, completionHandler: { _ in } )
2018 }
2119 }
2220
You can’t perform that action at this time.
0 commit comments