fix: Replace windowInsetsPadding with statusBarsPadding for header in ChatsListScreen
This commit is contained in:
@@ -386,10 +386,10 @@ fun ChatsListScreen(
|
|||||||
Box(
|
Box(
|
||||||
modifier =
|
modifier =
|
||||||
Modifier.fillMaxWidth()
|
Modifier.fillMaxWidth()
|
||||||
.windowInsetsPadding(WindowInsets.statusBars)
|
|
||||||
.background(
|
.background(
|
||||||
color = headerColor
|
color = headerColor
|
||||||
)
|
)
|
||||||
|
.statusBarsPadding()
|
||||||
.padding(
|
.padding(
|
||||||
top = 16.dp,
|
top = 16.dp,
|
||||||
start = 20.dp,
|
start = 20.dp,
|
||||||
|
|||||||
Reference in New Issue
Block a user