File tree 2 files changed +5
-6
lines changed
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
import React , { useCallback } from "react" ;
2
2
import { Linking , View } from "react-native" ;
3
3
import Animated from "react-native-reanimated" ;
4
- import { SafeAreaView } from "react-native-safe-area-context" ;
5
4
import * as ImagePicker from "expo-image-picker" ;
6
5
import { router , Stack , useLocalSearchParams } from "expo-router" ;
7
6
import { useUser } from "@clerk/clerk-expo" ;
@@ -220,7 +219,7 @@ export default function NewEventModal() {
220
219
}
221
220
222
221
return (
223
- < SafeAreaView className = "flex-1 bg-[#5A32FB]" >
222
+ < View className = "flex-1 bg-[#5A32FB]" >
224
223
{ /* Wrap everything in a "card" that has rounded top corners,
225
224
hiding anything behind it so no black gap appears */ }
226
225
< View className = "flex-1 overflow-hidden rounded-t-3xl bg-interactive-1" >
@@ -307,6 +306,6 @@ export default function NewEventModal() {
307
306
/>
308
307
</ Animated . View >
309
308
</ View >
310
- </ SafeAreaView >
309
+ </ View >
311
310
) ;
312
311
}
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
- import { SafeAreaView , View } from "react-native" ;
2
+ import { View } from "react-native" ;
3
3
import Animated from "react-native-reanimated" ;
4
4
import { router , Stack } from "expo-router" ;
5
5
@@ -83,7 +83,7 @@ export default function DemoCaptureScreen() {
83
83
} ) ) . filter ( ( photo ) => photo . uri !== "" ) ;
84
84
85
85
return (
86
- < SafeAreaView className = "flex-1 bg-[#5A32FB]" >
86
+ < View className = "flex-1 bg-[#5A32FB]" >
87
87
{ /* Wrap everything in a "card" that has rounded top corners,
88
88
hiding anything behind it so no black gap appears */ }
89
89
< View className = "flex-1 overflow-hidden rounded-t-3xl bg-interactive-1" >
@@ -152,6 +152,6 @@ export default function DemoCaptureScreen() {
152
152
/>
153
153
</ Animated . View >
154
154
</ View >
155
- </ SafeAreaView >
155
+ </ View >
156
156
) ;
157
157
}
You can’t perform that action at this time.
0 commit comments