Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Commit

Permalink
Fix Issue #300
Browse files Browse the repository at this point in the history
  • Loading branch information
mrx-rx authored May 23, 2023
1 parent 5a67923 commit 4df8dbf
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 4df8dbf

Please sign in to comment.