fix: make background slightly transparent to keep SurfaceFlinger alive

This commit is contained in:
2026-06-11 15:10:19 +02:00
parent ba63bb0454
commit a25331b439
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -172,7 +172,7 @@ export default function App() {
{/* Overlay PreviewScreen if active */}
{currentScreen === 'preview' && (
<View style={[StyleSheet.absoluteFill, { zIndex: 100, elevation: 100, backgroundColor: '#000' }]}>
<View style={[StyleSheet.absoluteFill, { zIndex: 100, elevation: 100, backgroundColor: 'transparent' }]}>
<PreviewScreen
photoUris={photoUris}
printerIp={settings.printerIp}
@@ -191,7 +191,7 @@ export default function App() {
{/* Overlay AdminScreen if active */}
{currentScreen === 'admin' && (
<View style={[StyleSheet.absoluteFill, { zIndex: 100, elevation: 100, backgroundColor: '#000' }]}>
<View style={[StyleSheet.absoluteFill, { zIndex: 100, elevation: 100, backgroundColor: 'transparent' }]}>
<AdminScreen
currentSettings={settings}
onSave={handleSaveSettings}