Merge commit '1daf888795c4ed75164d0494237bcbfad668ccc5' into feature/new-setting-system
This commit is contained in:
commit
561be1e2d1
@ -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
|
||||||
|
@ -84,7 +84,7 @@ export const SettingTopPage = ({
|
|||||||
/>
|
/>
|
||||||
<View style={{ flexDirection: "row", padding: 10 }}>
|
<View style={{ flexDirection: "row", padding: 10 }}>
|
||||||
<View style={{ flex: 1 }} />
|
<View style={{ flex: 1 }} />
|
||||||
<Text>内部バージョン: 5.0.2.2</Text>
|
<Text>内部バージョン: 5.0.2.3</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