|
|
|
@ -7,11 +7,9 @@ import { TopBar } from "../components/TopBar";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default function CityList({navigation}){
|
|
|
|
|
const insets = useSafeAreaInsets();
|
|
|
|
|
const statusBarHeight = insets.top;
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<View style={{flex: 1, width: "100%", alignItems: "center", marginTop: statusBarHeight}}>
|
|
|
|
|
<View style={{flex: 1, width: "100%", alignItems: "center"}}>
|
|
|
|
|
<TopBar/>
|
|
|
|
|
<FlatList
|
|
|
|
|
data={CITIES_DATA}
|
|
|
|
|