Merge commit '1daf888795c4ed75164d0494237bcbfad668ccc5' into feature/new-setting-system

This commit is contained in:
harukin-expo-dev-env 2024-03-13 13:45:50 +00:00
commit 561be1e2d1
3 changed files with 12 additions and 6 deletions

View File

@ -206,7 +206,7 @@ export const EachTrainInfoCore = ({
},
navigate,
originalStationList,
from: "NearTrainDiagramView",
from: from == "LED" ? "LED2" : "NearTrainDiagramView",
};
if (setTrainInfo) {
setTrainInfo(payload.data);
@ -288,17 +288,23 @@ export const EachTrainInfoCore = ({
},
}}
Max_Header_Height={
from == "AllTrainDiagramView" || from == "NearTrainDiagramView"
from == "AllTrainDiagramView" ||
from == "NearTrainDiagramView" ||
from == "LED2"
? 0
: 200
}
Min_Header_Height={
from == "AllTrainDiagramView" || from == "NearTrainDiagramView"
from == "AllTrainDiagramView" ||
from == "NearTrainDiagramView" ||
from == "LED2"
? 0
: 80
}
shortHeader={
from == "AllTrainDiagramView" || from == "NearTrainDiagramView" ? (
from == "AllTrainDiagramView" ||
from == "NearTrainDiagramView" ||
from == "LED2" ? (
<></>
) : (
<ShortHeader

View File

@ -84,7 +84,7 @@ export const SettingTopPage = ({
/>
<View style={{ flexDirection: "row", padding: 10 }}>
<View style={{ flex: 1 }} />
<Text>内部バージョン: 5.0.2.2</Text>
<Text>内部バージョン: 5.0.2.3</Text>
<View style={{ flex: 1 }} />
</View>

View File

@ -36,7 +36,7 @@ export default function TrainBase({ route, navigation }) {
setSupportMultipleWindows={false}
onMessage={(event) => {}}
/>
{(from == "LED" || from == "AllTrainDiagramView") && (
{(from == "LED" || from == "LED2" || from == "AllTrainDiagramView") && (
<TouchableOpacity
style={{
padding: 10,