Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71f14180 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[flexiglass] Addresses a couple of comments in BouncerScene." into main

parents 0d508ca7 34c3ed3e
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -208,12 +208,8 @@ private fun StandardLayout(
    val isSplitAroundTheFoldRequired by viewModel.isFoldSplitRequired.collectAsState()
    val isSplitAroundTheFold =
        foldPosture == FoldPosture.Tabletop && !outputOnly && isSplitAroundTheFoldRequired
    val currentSceneKey by
        remember(isSplitAroundTheFold) {
            mutableStateOf(
    val currentSceneKey =
        if (isSplitAroundTheFold) SceneKeys.SplitSceneKey else SceneKeys.ContiguousSceneKey
            )
        }

    SceneTransitionLayout(
        currentScene = currentSceneKey,
@@ -405,8 +401,7 @@ private fun UserInputArea(
            if (visibility == UserInputAreaVisibility.INPUT_ONLY) {
                PatternBouncer(
                    viewModel = nonNullViewModel,
                    modifier =
                        Modifier.aspectRatio(1f, matchHeightConstraintsFirst = false).then(modifier)
                    modifier = modifier.aspectRatio(1f, matchHeightConstraintsFirst = false)
                )
            }
        else -> Unit