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}
|
||||
|
||||
Reference in New Issue
Block a user