NTP-74365 | Anmol Agrawal | one cc nb fix (#16686)

This commit is contained in:
Anmol Agrawal
2025-06-23 12:05:27 +05:30
committed by GitHub
parent aa2ca256f6
commit 645390b696
2 changed files with 2 additions and 4 deletions

View File

@@ -220,7 +220,7 @@ fun PayBillScreen(
}
}
LaunchedEffect(Unit) {
LaunchedEffect(payBillViewModel.naviBbpsDefaultConfig) {
val category = billCategoryEntity.categoryId
val paymentCheckoutConfig =
payBillViewModel.naviBbpsDefaultConfig.value.paymentCheckoutConfig.firstOrNull {

View File

@@ -215,7 +215,6 @@ constructor(
private val pspManagerAnalytics = NaviPaymentAnalytics.INSTANCE.PspManager()
var screenLandTime: Long = 0
private var isOneClickCheckoutSetupDone = false
init {
paymentAmountChangeListener()
@@ -227,7 +226,7 @@ constructor(
tenantFlowName: String,
blacklistedMethodList: List<String> = emptyList(),
) {
if (isOneClickCheckoutSetupDone.not()) {
if (this.blacklistedMethodList != blacklistedMethodList) {
paymentSource = source
this.category = category
this.tenantFlowName = tenantFlowName
@@ -247,7 +246,6 @@ constructor(
}
updatePaymentCtaState()
}
isOneClickCheckoutSetupDone = true
}
}