Skip to content

Commit 9434d5b

Browse files
committed
[BOOK-275] feat: 로딩 중 캡처 버튼 터치 막기
1 parent 6fffe0e commit 9434d5b

File tree

1 file changed

+1
-0
lines changed
  • feature/record/src/main/kotlin/com/ninecraft/booket/feature/record/ocr

1 file changed

+1
-0
lines changed

feature/record/src/main/kotlin/com/ninecraft/booket/feature/record/ocr/OcrUi.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ private fun CameraPreview(
247247
}
248248

249249
Button(
250+
enabled = !state.isLoading,
250251
onClick = {
251252
val executor = ContextCompat.getMainExecutor(context)
252253
val photoFile = File.createTempFile("ocr_", ".jpg", context.cacheDir)

0 commit comments

Comments
 (0)