Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash - check if backgroundColor is null before trying to fetch i…
…t in ViewProps isLayoutOnly Summary: Noticed while working in MobileHome with android device, when interacting with the Tasks change progress/priority components (MobileHomeTasksDetailsSelectorToken), which provides `borderRadius` style and `backgroundColor: ifSelected ? value : null`, and when `backgroundColor` is `null`, the line changed in this diff crashes (throwing the `NoSuchKeyException` at `ReadableNativeMap:110` [because of isNull check on `ReadableNativeMap:107`]) Changelog: [Android][Fixed] - Fixed crash when using style borderRadius: any with backgroundColor: null Reviewed By: JoshuaGross Differential Revision: D27932828 fbshipit-source-id: 801b04c856ee9dc5a36bbf3e6e3d81de9b1e81a1
- Loading branch information