▼アンパンのバグを修正
This commit is contained in:
parent
02b5313237
commit
3a49571718
@ -45,9 +45,10 @@ export const TrainIconStatus: FC<Props> = ({ data, navigate, from }) => {
|
|||||||
)
|
)
|
||||||
.then((d) => d.json())
|
.then((d) => d.json())
|
||||||
.then((d) => {
|
.then((d) => {
|
||||||
|
console.log(d);
|
||||||
if (d.trainStatus == "〇") {
|
if (d.trainStatus == "〇") {
|
||||||
//setAnpanmanStatus({name:"checkmark-circle-outline",color:"blue"});
|
//setAnpanmanStatus({name:"checkmark-circle-outline",color:"blue"});
|
||||||
} else if (d.trainStatus == "△") {
|
} else if (d.trainStatus == "▲") {
|
||||||
setAnpanmanStatus({ name: "warning-outline", color: "yellow" });
|
setAnpanmanStatus({ name: "warning-outline", color: "yellow" });
|
||||||
} else if (d.trainStatus == "×") {
|
} else if (d.trainStatus == "×") {
|
||||||
setAnpanmanStatus({ name: "close-circle-outline", color: "red" });
|
setAnpanmanStatus({ name: "close-circle-outline", color: "red" });
|
||||||
@ -71,7 +72,7 @@ export const TrainIconStatus: FC<Props> = ({ data, navigate, from }) => {
|
|||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
navigate("howto", {
|
navigate("howto", {
|
||||||
info: "https://www.jr-eki.com/aptrain/index.html",
|
info: "https://www.jr-eki.com/aptrain/naani/dosan/jikoku.html",
|
||||||
goTo: from == "LED" ? "menu" : from,
|
goTo: from == "LED" ? "menu" : from,
|
||||||
});
|
});
|
||||||
SheetManager.hide("EachTrainInfo");
|
SheetManager.hide("EachTrainInfo");
|
||||||
|
Loading…
Reference in New Issue
Block a user