5.0.2.2 トレインビジョンの予期しない挙動を修正

This commit is contained in:
harukin-expo-dev-env 2024-03-13 13:10:08 +00:00
parent e750b73f55
commit 5806e2a259
2 changed files with 14 additions and 6 deletions

View File

@ -206,7 +206,7 @@ export const EachTrainInfoCore = ({
},
navigate,
originalStationList,
from: "AllTrainDiagramView",
from: "NearTrainDiagramView",
};
if (setTrainInfo) {
setTrainInfo(payload.data);
@ -287,10 +287,18 @@ export const EachTrainInfoCore = ({
maxHeight: isLandscape ? height - 94 : (height / 100) * 70,
},
}}
Max_Header_Height={from == "AllTrainDiagramView" ? 0 : 200}
Min_Header_Height={from == "AllTrainDiagramView" ? 0 : 80}
Max_Header_Height={
from == "AllTrainDiagramView" || from == "NearTrainDiagramView"
? 0
: 200
}
Min_Header_Height={
from == "AllTrainDiagramView" || from == "NearTrainDiagramView"
? 0
: 80
}
shortHeader={
from == "AllTrainDiagramView" ? (
from == "AllTrainDiagramView" || from == "NearTrainDiagramView" ? (
<></>
) : (
<ShortHeader
@ -302,7 +310,7 @@ export const EachTrainInfoCore = ({
)
}
longHeader={
from == "AllTrainDiagramView" ? (
from == "AllTrainDiagramView" || from == "NearTrainDiagramView" ? (
<></>
) : (
<LongHeader

View File

@ -174,7 +174,7 @@ export default function Setting(props) {
textAlignVertical: "center",
}}
>
内部バージョン: 5.0.2.1
内部バージョン: 5.0.2.2
</Text>
<View style={{ flex: 1 }} />
</View>