Upgrade log view UI with share button and auto-scroll

This commit is contained in:
2026-05-31 15:26:06 +02:00
parent e5af94fea1
commit 8291d3f05b
2 changed files with 29 additions and 5 deletions
+6 -1
View File
@@ -72,7 +72,12 @@ export default function PreviewScreen({
const [showStickerTray, setShowStickerTray] = useState<boolean>(false);
React.useEffect(() => {
logger.log(`PreviewScreen mounted with ${photoUris.length} photos. currentPhoto: ${photoUris[photoUris.length - 1]}`);
logger.log(`PreviewScreen mounted with ${photoUris.length} photos.`);
if (photoUris.length > 0) {
logger.log(`PreviewScreen currentPhoto: ${photoUris[photoUris.length - 1]}`);
} else {
logger.log(`[WARNING] PreviewScreen mounted but photoUris is empty!`);
}
return () => {
logger.log('PreviewScreen unmounting.');
};