Skip to content

Commit

Permalink
fix(andorid,newarch): setHandledMapChangedEvents issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mfazekas committed Jun 14, 2024
1 parent 34db17e commit bd383c1
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,14 @@ class NativeMapViewModule(context: ReactApplicationContext, val viewTagResolver:
}
}

public fun setHandledMapChangedEvents(
viewRef: Double?,
events: ReadableArray,
promise: Promise
) {
setHandledMapChangedEvents(viewRef?.toInt(), events, promise)
}

override fun clearData(viewRef: ViewRefTag?, promise: Promise) {
withMapViewOnUIThread(viewRef, promise) {
it.clearData(createCommandResponse(promise))
Expand Down

0 comments on commit bd383c1

Please sign in to comment.