Files
hipmi-mobile/app/(application)/(user)/maps/index.tsx
bagasbanuna 768b0caa9e Fix maps
### No Issue
2026-02-24 16:48:37 +08:00

30 lines
787 B
TypeScript

import { BackButton } from "@/components";
import MapsView from "@/screens/Maps/MapsView";
import MapsView2 from "@/screens/Maps/MapsView2";
import { Stack } from "expo-router";
import { Platform, Text, View } from "react-native";
export interface LocationItem {
id: string | number;
latitude: number;
longitude: number;
name: string;
imageId?: string;
}
export default function Maps() {
return (
<>
{/* <Stack.Screen
options={{
title: "Maps",
headerLeft: () => <BackButton />,
}}
/> */}
{Platform.OS === "ios" ? <MapsView /> : <MapsView2 />}
{/* <MapsView2 /> */}
{/* <View style={{ flex: 1, backgroundColor: "gray" }}><Text style={{ color: "white" }}>Map disabled</Text></View> */}
</>
);
}