Loading packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/Notifications.kt +1 −1 Original line number Diff line number Diff line Loading @@ -337,7 +337,7 @@ fun SceneScope.NotificationScrollingStack( // expanded, reset scrim offset. LaunchedEffect(stackHeight, scrimOffset) { snapshotFlow { stackHeight.intValue < minVisibleScrimHeight() && scrimOffset.value < 0f } .collect { shouldCollapse -> if (shouldCollapse) scrimOffset.snapTo(0f) } .collect { shouldCollapse -> if (shouldCollapse) scrimOffset.animateTo(0f, tween()) } } // if we receive scroll delta from NSSL, offset the scrim and placeholder accordingly. Loading Loading
packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/Notifications.kt +1 −1 Original line number Diff line number Diff line Loading @@ -337,7 +337,7 @@ fun SceneScope.NotificationScrollingStack( // expanded, reset scrim offset. LaunchedEffect(stackHeight, scrimOffset) { snapshotFlow { stackHeight.intValue < minVisibleScrimHeight() && scrimOffset.value < 0f } .collect { shouldCollapse -> if (shouldCollapse) scrimOffset.snapTo(0f) } .collect { shouldCollapse -> if (shouldCollapse) scrimOffset.animateTo(0f, tween()) } } // if we receive scroll delta from NSSL, offset the scrim and placeholder accordingly. Loading