fix: black camera screen after navigation, and optimize collage layout usage for landscape photos

This commit is contained in:
2026-06-11 13:02:50 +02:00
parent 635334fb84
commit aef6f9f2a3
2 changed files with 10 additions and 11 deletions
+1 -4
View File
@@ -148,10 +148,7 @@ export default function App() {
Android expo-camera hardware crashes when unmounting right after capture
*/}
<View
style={[
StyleSheet.absoluteFill,
(currentScreen === 'preview' || currentScreen === 'admin') && { zIndex: -10 }
]}
style={StyleSheet.absoluteFill}
pointerEvents={(currentScreen === 'preview' || currentScreen === 'admin') ? 'none' : 'auto'}
>
<CameraScreen