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

View File

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