mirror of
https://github.com/status-im/react-native.git
synced 2025-02-06 22:54:27 +00:00
Summary: The icon size in the test/example cannot be rounded correctly as 3x image, causing redbox like: ``` -[RNTesterSnapshotTests testTabBarExample] : failed: caught "NSInternalInconsistencyException", "RedBox error: Error setting property 'icon' of RCTTabBarItem with tag #14: Image source flux@3x.png size {33, 33} does not match loaded image size {33.333333333333336, 33.333333333333336}." ``` This simply resizes them from 100x100 to 99x99 Reviewed By: javache Differential Revision: D5747345 fbshipit-source-id: 084b4b028436b18dab324fef1fb0a4365072be75
5.8 KiB
99x99px
5.8 KiB
99x99px
![](/status-im/react-native/raw/commit/24c0dc3013f7f0c4939b32c40b7e5bbe153ebd6a/RNTester/js/flux@3x.png)