画面回転関係に由来するバグの修正

This commit is contained in:
harukin-expo-dev-env 2024-09-01 02:00:09 +00:00
parent e74ebc5ed9
commit df1357d745

View File

@ -237,7 +237,7 @@ export const EachTrainInfoCore = ({
originalStationList, originalStationList,
from: from == "LED" ? "LED2" : "NearTrainDiagramView", from: from == "LED" ? "LED2" : "NearTrainDiagramView",
}; };
if (setTrainInfo) { if (isLandscape) {
setTrainInfo(payload.data); setTrainInfo(payload.data);
} else { } else {
SheetManager.hide("EachTrainInfo").then(() => { SheetManager.hide("EachTrainInfo").then(() => {