NTP-24499 | Venkat Praneeth Reddy | Update status bar Color (#14903)

Co-authored-by: navi-android[bot] <194247829+navi-android[bot]@users.noreply.github.com>
This commit is contained in:
Venkat Praneeth Reddy
2025-02-11 20:27:10 +05:30
committed by GitHub
parent 0df1fb9d37
commit 08df9df6ca

View File

@@ -56,7 +56,10 @@ fun CreditCardScaffoldRenderer(
}
LaunchedEffect(scrollCrossedThresholdValue) {
val statusBarColor = if (scrollCrossedThresholdValue) Color.White else Color.Transparent
systemUiController.setStatusBarColor(color = statusBarColor, darkIcons = true)
systemUiController.setStatusBarColor(
color = statusBarColor,
darkIcons = scrollCrossedThresholdValue,
)
handleFloatingHeaderState(scrollCrossedThresholdValue, viewModel)
}