条件のミスの修正
This commit is contained in:
parent
4bcd8d2143
commit
30662ab10c
@ -58,7 +58,7 @@ export const HeaderText: FC<Props> = ({
|
|||||||
}, [data.limited, trainData]);
|
}, [data.limited, trainData]);
|
||||||
return (
|
return (
|
||||||
<View style={{ padding: 10, flexDirection: "row", alignItems: "center" }}>
|
<View style={{ padding: 10, flexDirection: "row", alignItems: "center" }}>
|
||||||
<TrainIconStatus {...{ data, navigate, from: "menu" }} />
|
<TrainIconStatus {...{ data, navigate, from}}/>
|
||||||
<Text style={textConfig}>{trainName}</Text>
|
<Text style={textConfig}>{trainName}</Text>
|
||||||
<View style={{ flex: 1 }} />
|
<View style={{ flex: 1 }} />
|
||||||
<Text style={textConfig}>
|
<Text style={textConfig}>
|
||||||
|
@ -72,7 +72,7 @@ export const TrainIconStatus: FC<Props> = ({ data, navigate, from }) => {
|
|||||||
onPress={() => {
|
onPress={() => {
|
||||||
navigate("howto", {
|
navigate("howto", {
|
||||||
info: "https://www.jr-eki.com/aptrain/index.html",
|
info: "https://www.jr-eki.com/aptrain/index.html",
|
||||||
goTo: from,
|
goTo: from == "LED" ? "menu" : from,
|
||||||
});
|
});
|
||||||
SheetManager.hide("EachTrainInfo");
|
SheetManager.hide("EachTrainInfo");
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user