Skip to content

Commit 64f8dcd

Browse files
committed
always show payment status
1 parent 3a79676 commit 64f8dcd

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

ui/src/main/java/io/snabble/sdk/ui/checkout/CheckoutActivity.kt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,7 @@ class CheckoutActivity : FragmentActivity() {
123123
null
124124
}
125125
Checkout.State.PAYMENT_APPROVED -> {
126-
if (checkout.selectedPaymentMethod?.isOfflineMethod == true) {
127-
SnabbleUI.executeAction(this, SnabbleUI.Event.SHOW_CHECKOUT_DONE)
128-
finish()
129-
null
130-
} else {
131-
R.id.snabble_nav_payment_status
132-
}
126+
R.id.snabble_nav_payment_status
133127
}
134128
Checkout.State.NONE -> {
135129
finish()

0 commit comments

Comments
 (0)