Skip to content

Commit

Permalink
fix(andorid,newarch): setHandledMapChangedEvents issue (#3527)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfazekas authored Jun 14, 2024
1 parent 34db17e commit 7d72add
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 7d72add

Please sign in to comment.