Skip to content

Commit

Permalink
Combine if statements
Browse files Browse the repository at this point in the history
Co-authored-by: Aashish Gurung <[email protected]>
  • Loading branch information
AnasNaouchi and aashishgurung authored Sep 9, 2024
1 parent 0d89c52 commit 4fc2715
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,9 @@ class AuthorizingPaymentActivity : AppCompatActivity() {
data: Intent?,
) {
if (requestCode == REQUEST_EXTERNAL_CODE) {
if (isDeepLinkSuccOpened) {
if (requestCode == REQUEST_EXTERNAL_CODE && isDeepLinkSuccOpened) {
finishActivityWithSuccessful(data)
}
finishActivityWithSuccessful(data)
}
}
Expand Down

0 comments on commit 4fc2715

Please sign in to comment.