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 */}
|
{/* Overlay PreviewScreen if active */}
|
||||||
{currentScreen === 'preview' && (
|
{currentScreen === 'preview' && (
|
||||||
<View style={[StyleSheet.absoluteFill, { zIndex: 100, elevation: 100, backgroundColor: '#000' }]}>
|
<View style={[StyleSheet.absoluteFill, { zIndex: 100, elevation: 100, backgroundColor: 'transparent' }]}>
|
||||||
<PreviewScreen
|
<PreviewScreen
|
||||||
photoUris={photoUris}
|
photoUris={photoUris}
|
||||||
printerIp={settings.printerIp}
|
printerIp={settings.printerIp}
|
||||||
@@ -191,7 +191,7 @@ export default function App() {
|
|||||||
|
|
||||||
{/* Overlay AdminScreen if active */}
|
{/* Overlay AdminScreen if active */}
|
||||||
{currentScreen === 'admin' && (
|
{currentScreen === 'admin' && (
|
||||||
<View style={[StyleSheet.absoluteFill, { zIndex: 100, elevation: 100, backgroundColor: '#000' }]}>
|
<View style={[StyleSheet.absoluteFill, { zIndex: 100, elevation: 100, backgroundColor: 'transparent' }]}>
|
||||||
<AdminScreen
|
<AdminScreen
|
||||||
currentSettings={settings}
|
currentSettings={settings}
|
||||||
onSave={handleSaveSettings}
|
onSave={handleSaveSettings}
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ type GradientColors = readonly [ColorValue, ColorValue, ...ColorValue[]];
|
|||||||
|
|
||||||
export const THEME = {
|
export const THEME = {
|
||||||
colors: {
|
colors: {
|
||||||
background: '#050510',
|
background: 'rgba(5, 5, 16, 0.99)',
|
||||||
surface: '#0D0D1A',
|
surface: '#0D0D1A',
|
||||||
surfaceSecondary: '#151528',
|
surfaceSecondary: '#151528',
|
||||||
primary: '#ff2bd6',
|
primary: '#ff2bd6',
|
||||||
|
|||||||
Reference in New Issue
Block a user