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

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

Merge "[Dual Shade] Remove the redundant coercion of the shade expand fraction." into main

parents 379565f7 68d87728
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -91,11 +91,7 @@ constructor(

            launch { viewModel.maxAlpha.collectTraced { view.setMaxAlpha(it) } }
            launch { viewModel.shadeScrollState.collect { view.setScrollState(it) } }
            launch {
                viewModel.expandFraction.collectTraced {
                    view.setExpandFraction(it.coerceIn(0f, 1f))
                }
            }
            launch { viewModel.expandFraction.collectTraced { view.setExpandFraction(it) } }
            launch { viewModel.qsExpandFraction.collectTraced { view.setQsExpandFraction(it) } }
            if (Flags.notificationShadeBlur()) {
                launch { viewModel.blurRadius(maxBlurRadius).collect(view::setBlurRadius) }