diff --git a/components/ActionSheetComponents/EachTrainInfoCore.js b/components/ActionSheetComponents/EachTrainInfoCore.js index f20d778..657df3c 100644 --- a/components/ActionSheetComponents/EachTrainInfoCore.js +++ b/components/ActionSheetComponents/EachTrainInfoCore.js @@ -237,7 +237,7 @@ export const EachTrainInfoCore = ({ originalStationList, from: from == "LED" ? "LED2" : "NearTrainDiagramView", }; - if (setTrainInfo) { + if (isLandscape) { setTrainInfo(payload.data); } else { SheetManager.hide("EachTrainInfo").then(() => {