5.0.2.3 条件漏れを追加
This commit is contained in:
parent
5806e2a259
commit
d8ce2a7f8a
@ -206,7 +206,7 @@ export const EachTrainInfoCore = ({
|
|||||||
},
|
},
|
||||||
navigate,
|
navigate,
|
||||||
originalStationList,
|
originalStationList,
|
||||||
from: "NearTrainDiagramView",
|
from: from == "LED" ? "LED2" : "NearTrainDiagramView",
|
||||||
};
|
};
|
||||||
if (setTrainInfo) {
|
if (setTrainInfo) {
|
||||||
setTrainInfo(payload.data);
|
setTrainInfo(payload.data);
|
||||||
@ -288,17 +288,23 @@ export const EachTrainInfoCore = ({
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
Max_Header_Height={
|
Max_Header_Height={
|
||||||
from == "AllTrainDiagramView" || from == "NearTrainDiagramView"
|
from == "AllTrainDiagramView" ||
|
||||||
|
from == "NearTrainDiagramView" ||
|
||||||
|
from == "LED2"
|
||||||
? 0
|
? 0
|
||||||
: 200
|
: 200
|
||||||
}
|
}
|
||||||
Min_Header_Height={
|
Min_Header_Height={
|
||||||
from == "AllTrainDiagramView" || from == "NearTrainDiagramView"
|
from == "AllTrainDiagramView" ||
|
||||||
|
from == "NearTrainDiagramView" ||
|
||||||
|
from == "LED2"
|
||||||
? 0
|
? 0
|
||||||
: 80
|
: 80
|
||||||
}
|
}
|
||||||
shortHeader={
|
shortHeader={
|
||||||
from == "AllTrainDiagramView" || from == "NearTrainDiagramView" ? (
|
from == "AllTrainDiagramView" ||
|
||||||
|
from == "NearTrainDiagramView" ||
|
||||||
|
from == "LED2" ? (
|
||||||
<></>
|
<></>
|
||||||
) : (
|
) : (
|
||||||
<ShortHeader
|
<ShortHeader
|
||||||
|
@ -174,7 +174,7 @@ export default function Setting(props) {
|
|||||||
textAlignVertical: "center",
|
textAlignVertical: "center",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
内部バージョン: 5.0.2.2
|
内部バージョン: 5.0.2.3
|
||||||
</Text>
|
</Text>
|
||||||
<View style={{ flex: 1 }} />
|
<View style={{ flex: 1 }} />
|
||||||
</View>
|
</View>
|
||||||
|
@ -36,7 +36,7 @@ export default function TrainBase({ route, navigation }) {
|
|||||||
setSupportMultipleWindows={false}
|
setSupportMultipleWindows={false}
|
||||||
onMessage={(event) => {}}
|
onMessage={(event) => {}}
|
||||||
/>
|
/>
|
||||||
{(from == "LED" || from == "AllTrainDiagramView") && (
|
{(from == "LED" || from == "LED2" || from == "AllTrainDiagramView") && (
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
style={{
|
style={{
|
||||||
padding: 10,
|
padding: 10,
|
||||||
|
Loading…
Reference in New Issue
Block a user