react-native-device-info icon indicating copy to clipboard operation
react-native-device-info copied to clipboard

fix(ios): isDisplayZoomed on iPhone 12/13 mini

Open ffraaz opened this issue 1 year ago • 0 comments

Description

Fixes #1581.

On iPhone 12 mini and iPhone 13 mini, isDisplayZoomed() always returns true, independent of whether Display & Brightness -> Display Zoom is enabled.

We fix this issue by changing the comparison operator (see here).

Compatibility

OS Implemented
iOS
Android
Windows

Checklist

  • [x] I have tested this on a device/simulator for each compatible OS
  • [ ] I added the documentation in README.md
  • [ ] I updated the typings files (privateTypes.ts, types.ts)
  • [ ] I added a sample use of the API (example/App.js)

ffraaz avatar Aug 01 '24 12:08 ffraaz