Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class PopupMenuDismissEvent(surfaceId: Int, viewId: Int) :

override fun getEventName(): String = EVENT_NAME

override fun getEventData(): WritableMap? = null
protected override fun getEventData(): WritableMap? = null

public companion object {
public const val EVENT_NAME: String = "topPopupMenuDismiss"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class PopupMenuPackage() : BaseReactPackage(), ViewManagerOnDemandReactPa
return null
}

override fun getViewManagers(reactContext: ReactApplicationContext): List<ModuleSpec> {
protected override fun getViewManagers(reactContext: ReactApplicationContext): List<ModuleSpec> {
return viewManagersMap.values.toList()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class PopupMenuSelectionEvent(surfaceId: Int, viewId: Int, private val it
return EVENT_NAME
}

override fun getEventData(): WritableMap {
protected override fun getEventData(): WritableMap {
val eventData: WritableMap = Arguments.createMap()
eventData.putInt("target", viewTag)
eventData.putDouble("item", item.toDouble())
Expand Down
Loading