Skip to content
This repository was archived by the owner on Dec 16, 2023. It is now read-only.

Commit c806a8b

Browse files
committed
Handle missing PayCardActivity
1 parent 4bdc427 commit c806a8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/marknkamau/justjava/ui/orderDetail/OrderDetailActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class OrderDetailActivity : BaseActivity() {
6262
binding.btnPayOrder.setOnClickListener {
6363
when (order.paymentMethod) {
6464
PaymentMethod.MPESA -> PayMpesaActivity.start(this, orderId)
65-
PaymentMethod.CARD -> PayCardActivity.start(this, orderId)
65+
PaymentMethod.CARD -> toast("Card payment is currently disabled")
6666
else -> {
6767
}
6868
}

0 commit comments

Comments
 (0)