Skip to content

Commit

Permalink
Merge pull request #43 from mym0404/fix/android-direct-event-map-impl…
Browse files Browse the repository at this point in the history
…-type

fix(android): make inner map type of direct event map instance to mutable
  • Loading branch information
mym0404 committed May 16, 2024
2 parents 6e60c83 + 2edb7ec commit 7ea4159
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ internal fun registerDirectEvent(
map: MutableMap<String, Any>,
name: String,
) {
map[name] = mapOf("registrationName" to name.replace(Regex("""^top"""), "on"))
map[name] = mutableMapOf("registrationName" to name.replace(Regex("""^top"""), "on"))
}

0 comments on commit 7ea4159

Please sign in to comment.