Skip to content

Commit ab41c51

Browse files
committed
Fixed folder struct.
1 parent 847ae72 commit ab41c51

File tree

5 files changed

+2
-7
lines changed

5 files changed

+2
-7
lines changed

SPPermissions.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "SPPermissions"
4-
s.version = "6.6.8"
4+
s.version = "6.7.0"
55
s.summary = "Ask permissions on Swift. Available List, Dialog & Native interface. Can check state permission."
66
s.homepage = "https://github.com/ivanvorobei/SPPermissions"
77
s.source = { :git => "https://github.com/ivanvorobei/SPPermissions.git", :tag => s.version }
File renamed without changes.

Sources/SPPermissions/Services/OpenService.swift

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,8 @@ enum OpenService {
2525

2626
@available(iOSApplicationExtension, unavailable)
2727
static func openSettings() {
28-
2928
DispatchQueue.main.async {
30-
31-
guard let settingsUrl = URL(string: UIApplication.openSettingsURLString) else {
32-
return
33-
}
34-
29+
guard let settingsUrl = URL(string: UIApplication.openSettingsURLString) else { return }
3530
if UIApplication.shared.canOpenURL(settingsUrl) {
3631
UIApplication.shared.open(settingsUrl, completionHandler: nil)
3732
}

0 commit comments

Comments
 (0)