|
|
@ -58,16 +58,14 @@ class StepFiveNiveshFDFragment : Fragment() { |
|
|
|
}else{ |
|
|
|
if (paymentReQueryResponse.Response.Message.isNotEmpty()) { |
|
|
|
if (paymentReQueryResponse.Response.Message.isNotEmpty()) { |
|
|
|
val arrOfStr: List<String> = |
|
|
|
paymentReQueryResponse.Response.Message.split(" ", limit = 2) |
|
|
|
binding.tvCongrats.text = arrOfStr[0] |
|
|
|
binding.tvCongrats.text = paymentReQueryResponse.Response.Status |
|
|
|
binding.tvCongrats.setTextColor( |
|
|
|
ContextCompat.getColor( |
|
|
|
activity as NiveshFdMainActivity, |
|
|
|
R.color.red |
|
|
|
) |
|
|
|
) |
|
|
|
binding.tvSuccessMessage.text = arrOfStr[1] |
|
|
|
binding.tvSuccessMessage.text = paymentReQueryResponse.Response.Message |
|
|
|
} |
|
|
|
} |
|
|
|
binding.tvRetry.visibility = View.VISIBLE |
|
|
|