Skip to content

Commit

Permalink
Remove button availability
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemHryhorovGeniusee committed Jun 23, 2022
1 parent ff293ef commit ce4036c
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,9 @@ class PaymentSummaryActivity : BaseActivity() {
topUpPriceCardItem = topUpPriceCardItem?.copy(id = order.id)
if (topUpPriceCardItem?.id?.isEmpty() == true) {
showNoAmountPopUp { getPayment(price) }
setButtonAvailability(false)
return@onSuccess
}
inflateOrderData(order)
setButtonAvailability(true)
}
it.onFailure { error ->
Log.e(TAG, error.message ?: error.toString())
Expand Down

0 comments on commit ce4036c

Please sign in to comment.