Skip to content

Commit ad97ef0

Browse files
committed
chore: remove redundant drop
1 parent ba10eb3 commit ad97ef0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/src/main/java/to/bitkit/ui/nav/SheetSceneStrategy.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import androidx.navigation3.scene.OverlayScene
3030
import androidx.navigation3.scene.Scene
3131
import androidx.navigation3.scene.SceneStrategy
3232
import androidx.navigation3.scene.SceneStrategyScope
33-
import kotlinx.coroutines.flow.drop
3433
import kotlinx.coroutines.launch
3534
import to.bitkit.ui.components.SheetDragHandle
3635
import to.bitkit.ui.components.SheetSize
@@ -101,7 +100,6 @@ internal class BitKitSheetScene<T : Any>(
101100

102101
LaunchedEffect(scaffoldState.bottomSheetState) {
103102
snapshotFlow { scaffoldState.bottomSheetState.currentValue }
104-
.drop(1)
105103
.collect { value: SheetValue ->
106104
if (!isInitialExpansion && value == SheetValue.Hidden) {
107105
onBack()

0 commit comments

Comments
 (0)