mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Remove useless Box
This commit is contained in:
committed by
Benoit Marty
parent
70583fc3fc
commit
4e46f12a12
-6
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user