Fix duplicate gallery saves and ensure FrameOverlay is captured by ViewShot on Android
This commit is contained in:
@@ -321,14 +321,6 @@ export default function CameraScreen({
|
||||
// to safely downsample it during rendering via resizeMethod="resize".
|
||||
console.log('Photo captured successfully, proceeding to PreviewScreen.');
|
||||
|
||||
// Auto-save individual photo to gallery
|
||||
try {
|
||||
await saveToGallery(capturedUri);
|
||||
console.log('Auto-saved capture to gallery');
|
||||
} catch (e) {
|
||||
console.error('Failed to auto-save capture:', e);
|
||||
}
|
||||
|
||||
// Handle burst mode
|
||||
const effectiveBurst = burstCount || 1;
|
||||
const newIndex = burstIndex + 1;
|
||||
|
||||
Reference in New Issue
Block a user