Skip to content

Commit

Permalink
Merge pull request #1 from mrx-rx/patch-1
Browse files Browse the repository at this point in the history
Fix Issue leminlimez#300
  • Loading branch information
mrx-rx authored May 23, 2023
2 parents e6a9de5 + 9a902dd commit 6005994
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cowabunga/App/CowabungaApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ struct CowabungaApp: App {

#if targetEnvironment(simulator)
#else
if #available(iOS 16.2, *) {
// fix Issue #300 | If ForceMDC is enabled it will override 16.2 unsupported limitation, for Beta users.
if #available(iOS 16.2, *), UserDefaults.standard.bool(forKey: "ForceMDC") == false {
UIApplication.shared.alert(title: "Not Supported", body: "This version of iOS is not supported.")
} else {
do {
Expand Down

0 comments on commit 6005994

Please sign in to comment.