chore: ios window color [skip e2e]
This commit is contained in:
@@ -356,11 +356,17 @@ const MobileWebAppContents = ({ destroyAndReload }: { destroyAndReload: () => vo
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<View
|
||||||
|
style={{
|
||||||
|
flex: 1,
|
||||||
|
backgroundColor: '#000000',
|
||||||
|
}}
|
||||||
|
>
|
||||||
<WebView
|
<WebView
|
||||||
ref={webViewRef}
|
ref={webViewRef}
|
||||||
source={{ uri: sourceUri }}
|
source={{ uri: sourceUri }}
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: '#000000',
|
backgroundColor: Platform.OS === 'ios' ? 'transparent' : '#000000',
|
||||||
opacity: didLoadEnd ? 1 : 0,
|
opacity: didLoadEnd ? 1 : 0,
|
||||||
}}
|
}}
|
||||||
originWhitelist={['*']}
|
originWhitelist={['*']}
|
||||||
@@ -396,5 +402,6 @@ const MobileWebAppContents = ({ destroyAndReload }: { destroyAndReload: () => vo
|
|||||||
})}
|
})}
|
||||||
webviewDebuggingEnabled
|
webviewDebuggingEnabled
|
||||||
/>
|
/>
|
||||||
|
</View>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user