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

Commit ae8992e2 authored by Anton Potapov's avatar Anton Potapov Committed by Android (Google) Code Review
Browse files

Merge "Only occupy half on a wide screen" into main

parents e32053c0 5c8857b3
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ import androidx.compose.ui.unit.IntRect
import androidx.lifecycle.compose.collectAsStateWithLifecycle
import com.android.compose.animation.scene.SceneScope
import com.android.compose.modifiers.padding
import com.android.compose.modifiers.thenIf
import com.android.systemui.compose.modifiers.sysuiResTag
import com.android.systemui.keyguard.ui.composable.LockscreenLongPress
import com.android.systemui.keyguard.ui.composable.section.AmbientIndicationSection
@@ -94,7 +95,10 @@ constructor(
                            with(topAreaSection) {
                                DefaultClockLayout(
                                    modifier =
                                        Modifier.fillMaxWidth(0.5f).graphicsLayer {
                                        Modifier.thenIf(isShadeLayoutWide) {
                                                Modifier.fillMaxWidth(0.5f)
                                            }
                                            .graphicsLayer {
                                                translationX = unfoldTranslations.start
                                            }
                                )