mirror of
https://github.com/status-im/react-native.git
synced 2025-02-10 00:23:26 +00:00
Summary: public A fix added to make the ImageEditor example usable on Android inadvertantly broke the cropping logic on iOS, so that zoomed images were cropped incorrectly. This diff fixes that, and also sets the min/max zoom scale correctly based on the image scale, instead of using a hard-coded value. Reviewed By: bestander Differential Revision: D2874576 fb-gh-sync-id: 02c62940c24f4d4266655de6ddbf4fe3bc9c13ce