From 37e21be4c0b3cef3543dfd26d7bb4a12cc96f93c Mon Sep 17 00:00:00 2001 From: harukin-expo-dev-env Date: Sat, 23 Aug 2025 14:48:58 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=82=A4=E3=83=88=E3=83=AB=E8=A6=81?= =?UTF-8?q?=E7=B4=A0=E3=82=AF=E3=83=AA=E3=83=83=E3=82=AF=E5=8F=AF=E8=83=BD?= =?UTF-8?q?=E3=81=AA=E6=99=82=E3=81=AE=E3=83=87=E3=82=B6=E3=82=A4=E3=83=B3?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EachTrainInfoCore/HeaderText.tsx | 23 +++++++++++++++++-- .../EachTrainInfoCore/trainIconStatus.tsx | 4 ++-- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/components/ActionSheetComponents/EachTrainInfoCore/HeaderText.tsx b/components/ActionSheetComponents/EachTrainInfoCore/HeaderText.tsx index 1edccd8..8fea967 100644 --- a/components/ActionSheetComponents/EachTrainInfoCore/HeaderText.tsx +++ b/components/ActionSheetComponents/EachTrainInfoCore/HeaderText.tsx @@ -11,7 +11,7 @@ import { useTrainMenu } from "@/stateBox/useTrainMenu"; import { useAllTrainDiagram } from "@/stateBox/useAllTrainDiagram"; import { useNotification } from "@/stateBox/useNotifications"; import { getStringConfig } from "@/lib/getStringConfig"; -import { FontAwesome } from "@expo/vector-icons"; +import { FontAwesome, MaterialCommunityIcons } from "@expo/vector-icons"; import { getPDFViewURL } from "@/lib/getPdfViewURL"; type Props = { @@ -133,7 +133,19 @@ export const HeaderText: FC = ({ > { if (!trainInfoUrl) return; const uri = trainInfoUrl.includes("pdf") @@ -158,6 +170,13 @@ export const HeaderText: FC = ({ {isOneMan && } {trainName} + {trainInfoUrl && ( + + )} {isEdit && ( = ({ data, navigate, from }) => { {move ? ( ) : (