小さな変更

This commit is contained in:
harukin-expo-dev-env 2025-05-24 06:29:17 +00:00
parent 2f65cd6a6f
commit 59082c7873

View File

@ -85,6 +85,7 @@ export const StationDeteilView = (props) => {
</View> </View>
<View> <View>
{currentStation && ( {currentStation && (
<>
<View style={{ margin: 10, marginHorizontal: width * 0.1 }}> <View style={{ margin: 10, marginHorizontal: width * 0.1 }}>
<Sign <Sign
stationID={currentStation[0].StationNumber} stationID={currentStation[0].StationNumber}
@ -98,12 +99,12 @@ export const StationDeteilView = (props) => {
}); });
onExit(); onExit();
}} }}
oLP={() => Linking.openURL(currentStation[0].StationTimeTable)} oLP={() =>
Linking.openURL(currentStation[0].StationTimeTable)
}
/> />
</View> </View>
)} {currentStation[0].JrHpUrl &&
{currentStation &&
currentStation[0].JrHpUrl &&
currentStation[0].StationNumber != "M12" && ( currentStation[0].StationNumber != "M12" && (
<駅構内図 //児島例外/ <駅構内図 //児島例外/
navigate={navigate} navigate={navigate}
@ -113,7 +114,6 @@ export const StationDeteilView = (props) => {
onExit={onExit} onExit={onExit}
/> />
)} )}
{currentStation && (
<View style={{ flexDirection: "row" }}> <View style={{ flexDirection: "row" }}>
{!currentStation[0].JrHpUrl || ( {!currentStation[0].JrHpUrl || (
<WebSiteButton <WebSiteButton
@ -152,6 +152,7 @@ export const StationDeteilView = (props) => {
/> />
)} )}
</View> </View>
</>
)} )}
</View> </View>
</View> </View>