Skip to content

Commit

Permalink
refactor(android): Code fixes for backward compatibility with Kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
YangJonghun committed Jul 11, 2024
1 parent 58d43d8 commit 3f96284
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ enum class EventTypes(val eventName: String) {
companion object {
fun toMap() =
mutableMapOf<String, Any>().apply {
EventTypes.entries.forEach { eventType ->
EventTypes.values().toList().forEach { eventType ->
put("top${eventType.eventName.removePrefix("on")}", mapOf("registrationName" to eventType.eventName))
}
}
Expand Down

0 comments on commit 3f96284

Please sign in to comment.