Merge commit '7e59b8c7bd7d01b35b5b0d6c5be93baed222f660' into develop

This commit is contained in:
harukin-expo-dev-env
2024-03-26 13:06:35 +00:00
20 changed files with 576 additions and 653 deletions

View File

@@ -2,13 +2,12 @@ import React, { useRef, useMemo } from "react";
import { View, Text, TouchableOpacity, Linking } from "react-native";
import MapView, { Marker } from "react-native-maps";
import { MaterialCommunityIcons } from "@expo/vector-icons";
export default function TrainMenu({
navigation: { navigate },
webview,
stationData,
style,
}) {
import { useCurrentTrain } from "../stateBox/useCurrentTrain";
import { useNavigation } from "@react-navigation/native";
export default function TrainMenu({ stationData, style }) {
const { webview } = useCurrentTrain();
const mapRef = useRef();
const { navigate } = useNavigation();
const stationPin = useMemo(
() =>
Object.keys(stationData).map((d, indexBase) =>