mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-03-27 00:32:44 +01:00
Avoid drawing surface background twice for comments fragment
This commit is contained in:
parent
62ab9bd740
commit
13585ca0be
@ -48,7 +48,6 @@ private fun CommentSection(
|
|||||||
val nestedScrollInterop = rememberNestedScrollInteropConnection()
|
val nestedScrollInterop = rememberNestedScrollInteropConnection()
|
||||||
val state = rememberLazyListState()
|
val state = rememberLazyListState()
|
||||||
|
|
||||||
Surface(color = MaterialTheme.colorScheme.background) {
|
|
||||||
LazyColumnThemedScrollbar(state = state) {
|
LazyColumnThemedScrollbar(state = state) {
|
||||||
LazyColumn(
|
LazyColumn(
|
||||||
modifier = Modifier.nestedScroll(nestedScrollInterop),
|
modifier = Modifier.nestedScroll(nestedScrollInterop),
|
||||||
@ -117,7 +116,6 @@ private fun CommentSection(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Preview(name = "Light mode", uiMode = Configuration.UI_MODE_NIGHT_NO)
|
@Preview(name = "Light mode", uiMode = Configuration.UI_MODE_NIGHT_NO)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user