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

Commit

Permalink
Merge pull request #301 from mrx-rx/main
Browse files Browse the repository at this point in the history
Fix Issue #300 for iOS 16.2 Beta 1 users.
  • Loading branch information
leminlimez authored Jun 17, 2023
2 parents aee8690 + 334db95 commit 29c3270
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 @@ -35,7 +35,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 29c3270

Please sign in to comment.