Skip to content

Commit

Permalink
Add check isPlayVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism committed Nov 15, 2023
1 parent 9e2ea02 commit 36d5adc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,8 @@ class PaymentsUtil(private val activity: Activity) {
json.addProperty("provider", provider.toString().lowercase())
json.addProperty("email", email)
json.addProperty("plan", planID)
if (currency != null && currency != "") {
val isPlayVersion = LanternApp.getSession().isPlayVersion()
if (isPlayVersion && currency != null && currency != "") {
val plan = "${planID}-${currency}"
json.addProperty("plan", plan)
}
Expand Down

0 comments on commit 36d5adc

Please sign in to comment.