Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[android][v10] Add guard to prevent NRE on map.getStyle().styleLayers (…
…#3595) * Add guard to prevent NRE crashing android apps on launch of map without styleLayers being a valid array * Update android/src/main/java/com/rnmapbox/rnmbx/components/mapview/RNMBXMapView.kt Use early return instead of optional chaining an iterator. Co-authored-by: Miklós Fazekas <mfazekas@szemafor.com> --------- Co-authored-by: Frederick Engelhardt <fre@vllc.dev> Co-authored-by: Miklós Fazekas <mfazekas@szemafor.com>
- Loading branch information