File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
app/src/main/java/to/bitkit/ui/nav Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ import androidx.navigation3.scene.OverlayScene
3030import androidx.navigation3.scene.Scene
3131import androidx.navigation3.scene.SceneStrategy
3232import androidx.navigation3.scene.SceneStrategyScope
33- import kotlinx.coroutines.flow.drop
3433import kotlinx.coroutines.launch
3534import to.bitkit.ui.components.SheetDragHandle
3635import 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()
You can’t perform that action at this time.
0 commit comments