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

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,
from: from == "LED" ? "LED2" : "NearTrainDiagramView",
};
if (setTrainInfo) {
if (isLandscape) {
setTrainInfo(payload.data);
} else {
SheetManager.hide("EachTrainInfo").then(() => {