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}
+1 -1
View File
@@ -5,7 +5,7 @@ type GradientColors = readonly [ColorValue, ColorValue, ...ColorValue[]];
export const THEME = {
colors: {
background: '#050510',
background: 'rgba(5, 5, 16, 0.99)',
surface: '#0D0D1A',
surfaceSecondary: '#151528',
primary: '#ff2bd6',