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:
committed by
GitHub
parent
0df1fb9d37
commit
08df9df6ca
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user