Commit d1b0862b by Demid Merzlyakov

Add a missing return.

parent 6ed5b084
...@@ -14,6 +14,7 @@ extension UIApplication { ...@@ -14,6 +14,7 @@ extension UIApplication {
let appSettingsURL = URL(string: UIApplication.openSettingsURLString + bundleIdentifier) let appSettingsURL = URL(string: UIApplication.openSettingsURLString + bundleIdentifier)
else { else {
assert(false, "Failed to create settings URL from: \(UIApplication.openSettingsURLString)") assert(false, "Failed to create settings URL from: \(UIApplication.openSettingsURLString)")
return
} }
UIApplication.shared.open(appSettingsURL) UIApplication.shared.open(appSettingsURL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment