Merge commit '0e06b6636862fa4728d36bb9b934490087cadf02'
This commit is contained in:
commit
1681be4437
4
Apps.js
4
Apps.js
@ -232,8 +232,8 @@ export default function Apps({ navigation, webview, stationData }) {
|
|||||||
}, 1);
|
}, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
const openStationACFromEachTrainInfo = (stationName) => {
|
const openStationACFromEachTrainInfo = async (stationName) => {
|
||||||
SheetManager.hide("EachTrainInfo");
|
await SheetManager.hide("EachTrainInfo");
|
||||||
const findStationEachLine = (selectLine) => {
|
const findStationEachLine = (selectLine) => {
|
||||||
let NearStation = selectLine.filter((d) => d.Station_JP == stationName);
|
let NearStation = selectLine.filter((d) => d.Station_JP == stationName);
|
||||||
return NearStation;
|
return NearStation;
|
||||||
|
@ -165,7 +165,7 @@ export default function Setting(props) {
|
|||||||
textAlignVertical: "center",
|
textAlignVertical: "center",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
内部バージョン: 4.6.2
|
内部バージョン: 4.6.3
|
||||||
</Text>
|
</Text>
|
||||||
<View style={{ flex: 1 }} />
|
<View style={{ flex: 1 }} />
|
||||||
</View>
|
</View>
|
||||||
|
4
menu.js
4
menu.js
@ -1,4 +1,4 @@
|
|||||||
import React, { useRef, useState, useEffect } from "react";
|
import React, { useRef, useState, useEffect, useLayoutEffect } from "react";
|
||||||
import Carousel from "react-native-snap-carousel";
|
import Carousel from "react-native-snap-carousel";
|
||||||
import {
|
import {
|
||||||
Platform,
|
Platform,
|
||||||
@ -101,7 +101,7 @@ export default function Menu(props) {
|
|||||||
const [currentStation, setCurrentStation] = useState(undefined); //第三要素
|
const [currentStation, setCurrentStation] = useState(undefined); //第三要素
|
||||||
|
|
||||||
const [originalStationList, setOriginalStationList] = useState(); // 第一要素
|
const [originalStationList, setOriginalStationList] = useState(); // 第一要素
|
||||||
useEffect(() => getStationList().then(setOriginalStationList), []);
|
useLayoutEffect(() => getStationList().then(setOriginalStationList), []);
|
||||||
|
|
||||||
const carouselRef = useRef();
|
const carouselRef = useRef();
|
||||||
const [selectedCurrentStation, setSelectedCurrentStation] = useState(0);
|
const [selectedCurrentStation, setSelectedCurrentStation] = useState(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user