fix: add delay for flash rendering

This commit is contained in:
2026-06-11 21:44:03 +02:00
parent f5ccda3608
commit 758f7a1d7e
2 changed files with 5 additions and 2 deletions
BIN
View File
Binary file not shown.
+3
View File
@@ -317,6 +317,9 @@ export default function CameraScreen({
try {
turnFlashOn();
// Wait for UI to render the flash before blocking main thread with capture
await new Promise(resolve => setTimeout(resolve, 50));
let capturedUri: string;