From bca2b300d3a4a35360f451fc78428dba50278119 Mon Sep 17 00:00:00 2001 From: harukin-DeskMini Date: Thu, 30 Mar 2023 03:25:28 +0900 Subject: [PATCH] =?UTF-8?q?4.5.2=E3=83=AA=E3=83=AA=E3=83=BC=E3=82=B9(?= =?UTF-8?q?=E5=B0=81=E5=8D=B0=E9=96=8B=E6=94=BE)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.js | 12 ++++++------ components/settings.js | 2 +- components/trainMenu.js | 4 +--- components/駅名表/Sign.js | 4 ++-- 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/App.js b/App.js index 8c59719..028e4cf 100644 --- a/App.js +++ b/App.js @@ -152,13 +152,13 @@ const Top = ({ getStationList2().then(setMapsStationData); }, []); - // useEffect(() => { - // const unsubscribe = navigation.addListener("tabLongPress", (e) => { - // navigation.navigate("favoriteList"); - // }); + useEffect(() => { + const unsubscribe = navigation.addListener("tabLongPress", (e) => { + navigation.navigate("favoriteList"); + }); - // return unsubscribe; - // }, [navigation]); + return unsubscribe; + }, [navigation]); return ( diff --git a/components/settings.js b/components/settings.js index dc032e6..7b32367 100644 --- a/components/settings.js +++ b/components/settings.js @@ -102,7 +102,7 @@ export default function Setting(props) { textAlignVertical: "center", }} > - 内部バージョン: 4.5.1 + 内部バージョン: 4.5.2 diff --git a/components/trainMenu.js b/components/trainMenu.js index 90c0788..ed6af21 100644 --- a/components/trainMenu.js +++ b/components/trainMenu.js @@ -66,9 +66,7 @@ export default function TrainMenu({ backgroundColor={"#EA4752"} icon="star" flex={1} - onPressButton={() => - /* navigate("favoriteList") */ alert("わちゃわちゃ....?") - } + onPressButton={() => navigate("favoriteList")} > お気に入り diff --git a/components/駅名表/Sign.js b/components/駅名表/Sign.js index 9ce12db..7316205 100644 --- a/components/駅名表/Sign.js +++ b/components/駅名表/Sign.js @@ -94,7 +94,7 @@ export default function Sign(props) { - {/* { if (testButtonStatus) { @@ -126,7 +126,7 @@ export default function Sign(props) { lottieRef={lottieRef} loop={false} /> - */} + JR