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