Upgrade log view UI with share button and auto-scroll
This commit is contained in:
@@ -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.');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user