8
8
ViewStyle ,
9
9
useWindowDimensions ,
10
10
} from "react-native"
11
- import { SafeAreaView } from "react-native-safe-area-context"
12
- import { Button , Screen , Text } from "../components"
11
+ import { Button , ClosedBanner , Screen , Text } from "../components"
13
12
import { useAppNavigation } from "../hooks"
14
13
import { AppStackScreenProps } from "../navigators"
15
14
import { colors , spacing } from "../theme"
@@ -32,7 +31,8 @@ export const WelcomeScreen: React.FC<WelcomeScreenProps> = (_props) => {
32
31
} , [ ] )
33
32
34
33
return (
35
- < Screen style = { $container } >
34
+ < Screen safeAreaEdges = { [ "top" , "bottom" ] } style = { $container } >
35
+ < ClosedBanner />
36
36
< View style = { $topContainer } >
37
37
< Image style = { $welcomeLogo } source = { welcomeLogo } />
38
38
</ View >
@@ -58,7 +58,7 @@ export const WelcomeScreen: React.FC<WelcomeScreenProps> = (_props) => {
58
58
/>
59
59
</ View >
60
60
61
- < SafeAreaView style = { $bottomContainer } edges = { [ "bottom" ] } >
61
+ < View style = { $bottomContainer } >
62
62
< View
63
63
style = { [
64
64
$bottomContentContainer ,
@@ -72,7 +72,7 @@ export const WelcomeScreen: React.FC<WelcomeScreenProps> = (_props) => {
72
72
onPress = { goNext }
73
73
/>
74
74
</ View >
75
- </ SafeAreaView >
75
+ </ View >
76
76
</ Screen >
77
77
)
78
78
}
@@ -85,7 +85,7 @@ const $container: ViewStyle = {
85
85
const $topContainer : ViewStyle = {
86
86
flexShrink : 1 ,
87
87
flexGrow : 1 ,
88
- flexBasis : "25 %" ,
88
+ flexBasis : "20 %" ,
89
89
justifyContent : "flex-start" ,
90
90
}
91
91
@@ -100,10 +100,8 @@ const $middleContainer: ViewStyle = {
100
100
const $bottomContainer : ViewStyle = {
101
101
flexShrink : 1 ,
102
102
flexGrow : 0 ,
103
- flexBasis : "25 %" ,
103
+ flexBasis : "20 %" ,
104
104
backgroundColor : colors . background ,
105
- borderTopLeftRadius : 16 ,
106
- borderTopRightRadius : 16 ,
107
105
}
108
106
109
107
const $bottomContentContainer : ViewStyle = {
0 commit comments