Remove useless Box
This commit is contained in:
parent
a307df5f64
commit
675f2d913b
1 changed files with 36 additions and 42 deletions
|
|
@ -204,11 +204,6 @@ fun MediaViewerView(
|
||||||
}
|
}
|
||||||
// Top bar
|
// Top bar
|
||||||
AnimatedVisibility(visible = showOverlay, enter = fadeIn(), exit = fadeOut()) {
|
AnimatedVisibility(visible = showOverlay, enter = fadeIn(), exit = fadeOut()) {
|
||||||
Box(
|
|
||||||
modifier = Modifier
|
|
||||||
.fillMaxSize()
|
|
||||||
.navigationBarsPadding()
|
|
||||||
) {
|
|
||||||
when (currentData) {
|
when (currentData) {
|
||||||
is MediaViewerPageData.MediaViewerData -> {
|
is MediaViewerPageData.MediaViewerData -> {
|
||||||
MediaViewerTopBar(
|
MediaViewerTopBar(
|
||||||
|
|
@ -249,7 +244,6 @@ fun MediaViewerView(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
when (val bottomSheetState = state.mediaBottomSheetState) {
|
when (val bottomSheetState = state.mediaBottomSheetState) {
|
||||||
MediaBottomSheetState.Hidden -> Unit
|
MediaBottomSheetState.Hidden -> Unit
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue