diff --git a/src/components/DraggableSticker.tsx b/src/components/DraggableSticker.tsx index f5c7425d..dd0bb19b 100644 --- a/src/components/DraggableSticker.tsx +++ b/src/components/DraggableSticker.tsx @@ -125,7 +125,7 @@ export default function DraggableSticker({ return ( - + {isText ? ( {sticker.content} diff --git a/src/screens/CameraScreen.tsx b/src/screens/CameraScreen.tsx index 26e78298..5158157a 100644 --- a/src/screens/CameraScreen.tsx +++ b/src/screens/CameraScreen.tsx @@ -183,7 +183,7 @@ export default function CameraScreen({ return { size: s, pixels: 0, w: 0, h: 0 }; }).filter((s: { pixels: number }) => s.pixels > 0); - parsedSizes.sort((a, b) => a.pixels - b.pixels); + parsedSizes.sort((a: any, b: any) => a.pixels - b.pixels); // Find the LARGEST size available to satisfy user request for original size const optimal = parsedSizes[parsedSizes.length - 1]; diff --git a/src/screens/PreviewScreen.tsx b/src/screens/PreviewScreen.tsx index 773a57d8..f450b9d5 100644 --- a/src/screens/PreviewScreen.tsx +++ b/src/screens/PreviewScreen.tsx @@ -294,7 +294,7 @@ export default function PreviewScreen({ } }; - const handleExitRef = useRef<() => void>(); + const handleExitRef = useRef<(() => void) | null>(null); handleExitRef.current = async () => { if (idleTimerRef.current) clearTimeout(idleTimerRef.current); if (!mountedRef.current) return; @@ -466,7 +466,6 @@ export default function PreviewScreen({ ref={viewShotRef} options={{ format: 'jpg', quality: 0.95 }} style={styles.viewShotContainer} - collapsable={false} > {renderCollageView()} @@ -579,26 +578,6 @@ export default function PreviewScreen({ - { - setDateOverlay((prev) => { - const nextMode = prev === 'off' ? 'date' : prev === 'date' ? 'datetime' : 'off'; - logger.log(`Action: Toggled date overlay to ${nextMode}`); - return nextMode; - }); - }} - > - - - Datum - - - {frameMode === 'available' && photoUris.length === 1 && (