NTP-38052 | BBPS | Top Bills Section UI Fixes (#15136)

This commit is contained in:
Shivam Goyal
2025-02-26 13:16:43 +05:30
committed by GitHub
parent 03f4996901
commit 0102c87570

View File

@@ -341,7 +341,7 @@ fun PopularBillersSection(
text = stringResource(id = R.string.bbps_top_billers),
fontFamily = naviFontFamily,
fontSize = 16.sp,
fontWeight = getFontWeight(FontWeightEnum.NAVI_HEADLINE_REGULAR),
fontWeight = getFontWeight(FontWeightEnum.NAVI_BODY_DEMI_BOLD),
color = NaviBbpsColor.textPrimary,
)
@@ -351,7 +351,7 @@ fun PopularBillersSection(
remember(popularBillers) {
val numberOfRows = ceil(popularBillers.size / 3.0).toInt()
val numberOfVerticalSpacers = numberOfRows - 1
(numberOfRows * 120).dp + (numberOfVerticalSpacers * 16).dp
(numberOfRows * 104).dp + (numberOfVerticalSpacers * 12).dp
}
LazyVerticalGrid(
@@ -369,6 +369,8 @@ fun PopularBillersSection(
)
}
}
Spacer(modifier = Modifier.height(24.dp))
}
}