Skip to content

Commit

Permalink
Fixed folder struct.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvorobei committed Sep 4, 2021
1 parent 847ae72 commit ab41c51
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 7 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion SPPermissions.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "SPPermissions"
s.version = "6.6.8"
s.version = "6.7.0"
s.summary = "Ask permissions on Swift. Available List, Dialog & Native interface. Can check state permission."
s.homepage = "https://github.com/ivanvorobei/SPPermissions"
s.source = { :git => "https://github.com/ivanvorobei/SPPermissions.git", :tag => s.version }
Expand Down
File renamed without changes.
File renamed without changes.
7 changes: 1 addition & 6 deletions Sources/SPPermissions/Services/OpenService.swift
Expand Up @@ -25,13 +25,8 @@ enum OpenService {

@available(iOSApplicationExtension, unavailable)
static func openSettings() {

DispatchQueue.main.async {

guard let settingsUrl = URL(string: UIApplication.openSettingsURLString) else {
return
}

guard let settingsUrl = URL(string: UIApplication.openSettingsURLString) else { return }
if UIApplication.shared.canOpenURL(settingsUrl) {
UIApplication.shared.open(settingsUrl, completionHandler: nil)
}
Expand Down

0 comments on commit ab41c51

Please sign in to comment.