diff --git a/android/src/main/java/com/mjstudio/reactnativenavermap/mapview/RNCNaverMapViewManager.kt b/android/src/main/java/com/mjstudio/reactnativenavermap/mapview/RNCNaverMapViewManager.kt index 12f35334..d833adf6 100644 --- a/android/src/main/java/com/mjstudio/reactnativenavermap/mapview/RNCNaverMapViewManager.kt +++ b/android/src/main/java/com/mjstudio/reactnativenavermap/mapview/RNCNaverMapViewManager.kt @@ -130,11 +130,11 @@ class RNCNaverMapViewManager : RNCNaverMapViewManagerSpec } override fun addView( - parent: RNCNaverMapMarker?, + parent: RNCNaverMapMarker, child: View, index: Int, ) { - parent?.setCustomView(child, index) + parent.setCustomView(child, index) } override fun removeViewAt( - parent: RNCNaverMapMarker?, + parent: RNCNaverMapMarker, index: Int, ) { - parent?.removeCustomView(index) + parent.removeCustomView(index) } @ReactProp(name = "coord")