Skip to content

Commit

Permalink
fix: change HashMap type from <String, String> to <String, Any> in sa…
Browse files Browse the repository at this point in the history
…mple
  • Loading branch information
comfrt1k committed Dec 25, 2024
1 parent 6b14d1b commit c6b18cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ abstract class AbstractMainActivity<out T : SDK> internal constructor(

button.setOnClickListener {
if (emailEditText.text.toString().isNotEmpty()) {
val params = HashMap<String, String>()
val params = HashMap<String, Any>()
params["email"] = emailEditText.text.toString()
sdk.profile(params)
Toast.makeText(applicationContext, "Email sent", Toast.LENGTH_LONG).show()
Expand Down

0 comments on commit c6b18cd

Please sign in to comment.