fix: Allow sheet to be closed

This commit is contained in:
Myzel394 2023-12-05 18:32:02 +01:00
parent add9c8cde5
commit 55e00c132a
No known key found for this signature in database
GPG Key ID: 79CC92F37B3E1A2B

View File

@ -71,9 +71,7 @@ fun VideoRecorderPreparationSheet(
onPreviewHidden: () -> Unit,
onStartRecording: () -> Unit,
) {
val sheetState = rememberModalBottomSheetState(true) { sheetValue ->
false
}
val sheetState = rememberModalBottomSheetState(true)
val context = LocalContext.current
val cameras = CameraInfo.queryAvailableCameras(context)