### No Issue
This commit is contained in:
2026-02-24 16:48:37 +08:00
parent 208b0ce813
commit 768b0caa9e
6 changed files with 246 additions and 114 deletions

View File

@@ -1,6 +1,8 @@
import { BackButton } from "@/components";
import MapsView from "@/screens/Maps/MapsView";
import MapsView2 from "@/screens/Maps/MapsView2";
import { Text, View } from "react-native";
import { Stack } from "expo-router";
import { Platform, Text, View } from "react-native";
export interface LocationItem {
id: string | number;
@@ -13,8 +15,14 @@ export interface LocationItem {
export default function Maps() {
return (
<>
<MapsView />
{/* <MapsView2 />, */}
{/* <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> */}
</>
);