Merge commit '1430c31140b00da4c971a9b518c2fe01c6d1b4bf'
This commit is contained in:
commit
7810b770cc
@ -102,7 +102,7 @@ export default function Setting(props) {
|
||||
textAlignVertical: "center",
|
||||
}}
|
||||
>
|
||||
内部バージョン: 4.4.2.2
|
||||
内部バージョン: 4.4.2.3
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</View>
|
||||
|
@ -239,7 +239,7 @@ export default function LED_vision(props) {
|
||||
})() +
|
||||
" " +
|
||||
train.trainName +
|
||||
(!train.trainNumDistance
|
||||
(train.trainNumDistance == undefined
|
||||
? ""
|
||||
: parseInt(
|
||||
d.train.replace("M", "").replace("D", "")
|
||||
|
22
menu.js
22
menu.js
@ -78,11 +78,7 @@ export default function Menu(props) {
|
||||
}, []);
|
||||
|
||||
const [originalStationList, setOriginalStationList] = useState();
|
||||
useEffect(() => {
|
||||
getStationList().then((stationList) => {
|
||||
setOriginalStationList(stationList);
|
||||
});
|
||||
}, []);
|
||||
useEffect(() => getStationList().then(setOriginalStationList), []);
|
||||
|
||||
const [stationName, setStationName] = useState(undefined);
|
||||
const [currentStation, setCurrentStation] = useState(undefined);
|
||||
@ -147,7 +143,7 @@ export default function Menu(props) {
|
||||
)
|
||||
.then((response) => response.text())
|
||||
.then((data) => setDelayData(data !== "" ? data.split("^") : null))
|
||||
.then(() => LayoutAnimation.easeInEaseOut())
|
||||
.then(LayoutAnimation.easeInEaseOut)
|
||||
.then(() => setGetTime(new Date()))
|
||||
.finally(() => setLoadingDelayData(false));
|
||||
}, [loadingDelayData]);
|
||||
@ -379,6 +375,20 @@ export default function Menu(props) {
|
||||
旅行ツアー
|
||||
</TicketBox>
|
||||
</View>
|
||||
<TextBox
|
||||
backgroundColor="#0099CC"
|
||||
flex={1}
|
||||
onPressButton={() =>
|
||||
Linking.openURL("https://www.jr-eki.com/smart-eki/index.html")
|
||||
}
|
||||
>
|
||||
<Text style={{ color: "white", fontWeight: "bold", fontSize: 20 }}>
|
||||
スマートえきちゃん
|
||||
</Text>
|
||||
<Text style={{ color: "white", fontSize: 18 }}>
|
||||
JR四国のチケットレススマホアプリです。
|
||||
</Text>
|
||||
</TextBox>
|
||||
<TextBox
|
||||
backgroundColor="#0099CC"
|
||||
flex={1}
|
||||
|
Loading…
Reference in New Issue
Block a user