NTP-38050 | Divyesh | landing page unpaid bills sync fix (#15212)

This commit is contained in:
Divyesh Shinde
2025-02-28 20:28:45 +05:30
committed by GitHub
parent 217aa0866d
commit dfdfac9857
2 changed files with 1 additions and 10 deletions

View File

@@ -221,7 +221,6 @@ constructor(
}
}
)
fetchMyBills()
fetchRewardDetails()
updateArcProtectedStatus()
updateArcTransactionCounter()
@@ -706,10 +705,6 @@ constructor(
)
}
private fun fetchMyBills() {
myBillsSyncJob.refreshBillsAsync(naviBbpsVmData.screen.screenName)
}
private fun mapBillCategoriesResponseToEntities(
billCategoriesResponse: BillCategoriesResponse
): List<BillCategoryGroupEntity> {

View File

@@ -1069,11 +1069,7 @@ internal fun PendingBillsSection(
animatedUnpaidBills = nonDismissedUnpaidBills.toList()
}
LaunchedEffect(nonDismissedUnpaidBills.size) {
if (pendingBillsShowMoreLessButtonState !is PendingBillsShowMoreLessButtonState.Hidden) {
updateAnimatedUnpaidBills()
}
}
LaunchedEffect(nonDismissedUnpaidBills.size) { updateAnimatedUnpaidBills() }
Column(modifier = Modifier.fillMaxWidth().animateContentSize()) {
animatedUnpaidBills.forEachIndexed { index, myBillEntity ->