Skip to content

Commit

Permalink
Only bypass Safari too old on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Eriksson committed Mar 11, 2022
1 parent 153cfa7 commit f8426ee
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -608,11 +608,10 @@ public boolean isTooOldToFunctionProperly() {
}
// Safari 14+
if (isSafari() && getBrowserMajorVersion() < 14) {
if (getOperatingSystemMajorVersion() > 14) {
return false;
}
if (getOperatingSystemMajorVersion() == 14
&& getOperatingSystemMinorVersion() >= 7) {
if (isIPhone() && (getOperatingSystemMajorVersion() > 14
|| (getOperatingSystemMajorVersion() == 14
&& getOperatingSystemMinorVersion() >= 7))) {
// #11654
return false;
}
return true;
Expand Down

0 comments on commit f8426ee

Please sign in to comment.