Add Dimensions class

This commit is contained in:
vfsfitvnm
2022-07-08 11:18:36 +02:00
parent 87b2ff3788
commit eb4e249443
16 changed files with 106 additions and 117 deletions

View File

@@ -144,7 +144,7 @@ class MainActivity : ComponentActivity() {
PlayerView(
layoutState = rememberBottomSheetState(
lowerBound = 64.dp, upperBound = maxHeight
lowerBound = Dimensions.collapsedPlayer, upperBound = maxHeight
),
modifier = Modifier
.align(Alignment.BottomCenter)