File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
feature/record/src/main/kotlin/com/ninecraft/booket/feature/record/ocr Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ import androidx.compose.material3.Icon
3535import androidx.compose.material3.Text
3636import androidx.compose.runtime.Composable
3737import androidx.compose.runtime.DisposableEffect
38+ import androidx.compose.runtime.LaunchedEffect
3839import androidx.compose.runtime.getValue
3940import androidx.compose.runtime.mutableStateOf
4041import androidx.compose.runtime.remember
@@ -120,7 +121,7 @@ private fun CameraPreview(
120121 ) { _ -> }
121122
122123 // 최초 진입 시 권한 요청
123- RememberedEffect (Unit ) {
124+ LaunchedEffect (Unit ) {
124125 if (! isGranted) {
125126 state.eventSink(OcrUiEvent .OnHidePermissionDialog )
126127 permissionLauncher.launch(permission)
You can’t perform that action at this time.
0 commit comments