Skip to content

Commit

Permalink
redundant if
Browse files Browse the repository at this point in the history
  • Loading branch information
kot331107 committed Nov 27, 2024
1 parent 2666bd4 commit 95fdea6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions android/src/play/java/com/dooboolab/rniap/RNIapModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -523,10 +523,8 @@ class RNIapModule(
}
subscriptionUpdateParamsBuilder.setSubscriptionReplacementMode(replacementMode)
}
if (purchaseToken != null) {
val subscriptionUpdateParams = subscriptionUpdateParamsBuilder.build()
builder.setSubscriptionUpdateParams(subscriptionUpdateParams)
}
val subscriptionUpdateParams = subscriptionUpdateParamsBuilder.build()
builder.setSubscriptionUpdateParams(subscriptionUpdateParams)
}
if (obfuscatedAccountId != null) {
builder.setObfuscatedAccountId(obfuscatedAccountId)
Expand Down

0 comments on commit 95fdea6

Please sign in to comment.