小さな変更
This commit is contained in:
parent
2f65cd6a6f
commit
59082c7873
@ -85,73 +85,74 @@ export const StationDeteilView = (props) => {
|
|||||||
</View>
|
</View>
|
||||||
<View>
|
<View>
|
||||||
{currentStation && (
|
{currentStation && (
|
||||||
<View style={{ margin: 10, marginHorizontal: width * 0.1 }}>
|
<>
|
||||||
<Sign
|
<View style={{ margin: 10, marginHorizontal: width * 0.1 }}>
|
||||||
stationID={currentStation[0].StationNumber}
|
<Sign
|
||||||
oP={() => {
|
stationID={currentStation[0].StationNumber}
|
||||||
usePDFView == "true"
|
oP={() => {
|
||||||
? Linking.openURL(currentStation[0].StationTimeTable)
|
usePDFView == "true"
|
||||||
: navigate("howto", {
|
? Linking.openURL(currentStation[0].StationTimeTable)
|
||||||
info,
|
: navigate("howto", {
|
||||||
|
info,
|
||||||
|
goTo,
|
||||||
|
useShow,
|
||||||
|
});
|
||||||
|
onExit();
|
||||||
|
}}
|
||||||
|
oLP={() =>
|
||||||
|
Linking.openURL(currentStation[0].StationTimeTable)
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
</View>
|
||||||
|
{currentStation[0].JrHpUrl &&
|
||||||
|
currentStation[0].StationNumber != "M12" && (
|
||||||
|
<駅構内図 //児島例外/
|
||||||
|
navigate={navigate}
|
||||||
|
goTo={goTo}
|
||||||
|
useShow={useShow}
|
||||||
|
address={currentStation[0].JrHpUrl}
|
||||||
|
onExit={onExit}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
<View style={{ flexDirection: "row" }}>
|
||||||
|
{!currentStation[0].JrHpUrl || (
|
||||||
|
<WebSiteButton
|
||||||
|
navigate={navigate}
|
||||||
|
info={currentStation[0].JrHpUrl}
|
||||||
|
goTo={goTo}
|
||||||
|
useShow={useShow}
|
||||||
|
onExit={onExit}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
{!currentStation[0].StationTimeTable || (
|
||||||
|
<StationTimeTableButton
|
||||||
|
info={info}
|
||||||
|
address={currentStation[0].StationTimeTable}
|
||||||
|
usePDFView={usePDFView}
|
||||||
|
navigate={navigate}
|
||||||
|
onExit={onExit}
|
||||||
|
goTo={goTo}
|
||||||
|
useShow={useShow}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
{!currentStation[0].StationMap || (
|
||||||
|
<StationMapButton stationMap={currentStation[0].StationMap} />
|
||||||
|
)}
|
||||||
|
{!trainBus || (
|
||||||
|
<TrainBusButton
|
||||||
|
address={trainBus.address}
|
||||||
|
press={() => {
|
||||||
|
navigate("howto", {
|
||||||
|
info: trainBus.address,
|
||||||
goTo,
|
goTo,
|
||||||
useShow,
|
useShow,
|
||||||
});
|
});
|
||||||
onExit();
|
onExit();
|
||||||
}}
|
}}
|
||||||
oLP={() => Linking.openURL(currentStation[0].StationTimeTable)}
|
/>
|
||||||
/>
|
)}
|
||||||
</View>
|
</View>
|
||||||
)}
|
</>
|
||||||
{currentStation &&
|
|
||||||
currentStation[0].JrHpUrl &&
|
|
||||||
currentStation[0].StationNumber != "M12" && (
|
|
||||||
<駅構内図 //児島例外/
|
|
||||||
navigate={navigate}
|
|
||||||
goTo={goTo}
|
|
||||||
useShow={useShow}
|
|
||||||
address={currentStation[0].JrHpUrl}
|
|
||||||
onExit={onExit}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
{currentStation && (
|
|
||||||
<View style={{ flexDirection: "row" }}>
|
|
||||||
{!currentStation[0].JrHpUrl || (
|
|
||||||
<WebSiteButton
|
|
||||||
navigate={navigate}
|
|
||||||
info={currentStation[0].JrHpUrl}
|
|
||||||
goTo={goTo}
|
|
||||||
useShow={useShow}
|
|
||||||
onExit={onExit}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
{!currentStation[0].StationTimeTable || (
|
|
||||||
<StationTimeTableButton
|
|
||||||
info={info}
|
|
||||||
address={currentStation[0].StationTimeTable}
|
|
||||||
usePDFView={usePDFView}
|
|
||||||
navigate={navigate}
|
|
||||||
onExit={onExit}
|
|
||||||
goTo={goTo}
|
|
||||||
useShow={useShow}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
{!currentStation[0].StationMap || (
|
|
||||||
<StationMapButton stationMap={currentStation[0].StationMap} />
|
|
||||||
)}
|
|
||||||
{!trainBus || (
|
|
||||||
<TrainBusButton
|
|
||||||
address={trainBus.address}
|
|
||||||
press={() => {
|
|
||||||
navigate("howto", {
|
|
||||||
info: trainBus.address,
|
|
||||||
goTo,
|
|
||||||
useShow,
|
|
||||||
});
|
|
||||||
onExit();
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</View>
|
|
||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
Loading…
Reference in New Issue
Block a user