fix: make background slightly transparent to keep SurfaceFlinger alive
This commit is contained in:
@@ -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
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user