Skip to content

Commit

Permalink
Remove lifecycle state in Select location
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa authored and Pururun committed Jul 25, 2024
1 parent cdf2654 commit f6f02f5
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ import androidx.compose.ui.res.painterResource
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.tooling.preview.Preview
import androidx.lifecycle.compose.LocalLifecycleOwner
import androidx.lifecycle.compose.collectAsStateWithLifecycle
import androidx.lifecycle.compose.currentStateAsState
import androidx.lifecycle.compose.dropUnlessResumed
import com.ramcosta.composedestinations.annotation.Destination
import com.ramcosta.composedestinations.annotation.RootGraph
Expand Down Expand Up @@ -287,8 +285,6 @@ fun SelectLocationScreen(
)
}
) {
val lifecycleState = LocalLifecycleOwner.current.lifecycle.currentStateAsState()
Text(text = lifecycleState.value.toString())
var bottomSheetState by remember { mutableStateOf<BottomSheetState?>(null) }
BottomSheets(
bottomSheetState = bottomSheetState,
Expand Down

0 comments on commit f6f02f5

Please sign in to comment.