Skip to content

Commit

Permalink
Merge branch 'remove-lifecycle-state-text'
Browse files Browse the repository at this point in the history
  • Loading branch information
Pururun committed Jul 25, 2024
2 parents e6313c5 + 6039cee commit 31a2cca
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 31a2cca

Please sign in to comment.