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
|
||||
AnimatedVisibility(visible = showOverlay, enter = fadeIn(), exit = fadeOut()) {
|
||||
Box(
|
||||
modifier = Modifier
|
||||
.fillMaxSize()
|
||||
.navigationBarsPadding()
|
||||
) {
|
||||
when (currentData) {
|
||||
is MediaViewerPageData.MediaViewerData -> {
|
||||
MediaViewerTopBar(
|
||||
|
|
@ -249,7 +244,6 @@ fun MediaViewerView(
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
when (val bottomSheetState = state.mediaBottomSheetState) {
|
||||
MediaBottomSheetState.Hidden -> Unit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue