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