Skip to content

Commit

Permalink
Fix if syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
AnasNaouchi committed Sep 9, 2024
1 parent 4fc2715 commit c083d49
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,12 +305,8 @@ class AuthorizingPaymentActivity : AppCompatActivity() {
resultCode: Int,
data: Intent?,
) {
if (requestCode == REQUEST_EXTERNAL_CODE) {
if (requestCode == REQUEST_EXTERNAL_CODE && isDeepLinkSuccOpened) {
finishActivityWithSuccessful(data)
}
finishActivityWithSuccessful(data)
}
if (requestCode == REQUEST_EXTERNAL_CODE && isDeepLinkSuccOpened) {
finishActivityWithSuccessful(data)
}
}

Expand Down

0 comments on commit c083d49

Please sign in to comment.