feat: refactor Google Auth handling and improve media file management with enhanced error logging

This commit is contained in:
bobbert committed 2026-02-25 01:17:32 +00:00
1 parent ad0cc1a7f5
commit 99c0e1186c
3 files changed
+110 -35

No files matched your search

+6 -1
View File
@@ -54,7 +54,12 @@ const PhotoGrid = ({
activeOpacity={0.8}
>
{item.local_path ? (
<Image source={{ uri: item.local_path }} style={styles.gridImage} resizeMode="cover" />
<Image
source={{ uri: item.local_path }}
style={styles.gridImage}
resizeMode="cover"
onError={(e) => console.warn(`Image load failed [${item.source_service}]: ${item.local_path?.substring(0, 80)}`, e.nativeEvent?.error)}
/>
) : (
<View style={[styles.placeholder, { backgroundColor: theme.borderLight }]}>
<Text style={{ fontSize: 28 }}>📷</Text>