[RN] Don't display background colors underneath text on WelcomePage
This commit is contained in:
parent
685d117a91
commit
a1639b67a5
|
@ -66,6 +66,13 @@ export const styles = createStyleSheet({
|
||||||
* thought of as the foreground (content) of WelcomePage.
|
* thought of as the foreground (content) of WelcomePage.
|
||||||
*/
|
*/
|
||||||
localVideoOverlay: {
|
localVideoOverlay: {
|
||||||
|
// Since (1) the top-level container of WelcomePage is not transparent
|
||||||
|
// and, more importantly, (2) this View is displayed over the local
|
||||||
|
// video, this View would better not have a background color.
|
||||||
|
// Otherwise, Views within this View will inherit its background color
|
||||||
|
// and Text, for example, will display non-transparent rectangles over
|
||||||
|
// the local video.
|
||||||
|
backgroundColor: 'transparent',
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
flex: 1,
|
flex: 1,
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
|
|
Loading…
Reference in New Issue