diff --git a/Apps.js b/Apps.js index 23f9349..c0420ed 100644 --- a/Apps.js +++ b/Apps.js @@ -894,7 +894,7 @@ modal_observer.observe(modal_content, { style={{ position: "absolute", top: Platform.OS == "ios" ? Constants.statusBarHeight : 0, - right: 10, + left: 10, width: 50, height: 50, backgroundColor: "#0099CC", diff --git a/components/ActionSheetComponents/StationDeteilView.js b/components/ActionSheetComponents/StationDeteilView.js new file mode 100644 index 0000000..541e641 --- /dev/null +++ b/components/ActionSheetComponents/StationDeteilView.js @@ -0,0 +1,80 @@ +export const StationDeteilView = (props) => { + return ( + {}} + > + + + + + + {currentStation && ( + Linking.openURL(currentStation[0].StationTimeTable)} + /> + )} + {currentStation && ( + + {!currentStation[0].JrHpUrl || ( + } + flex={1} + onPressButton={() => + Linking.openURL(currentStation[0].JrHpUrl) + } + > + web + + )} + {!currentStation[0].StationTimeTable || ( + } + flex={1} + onPressButton={() => + Linking.openURL(currentStation[0].StationTimeTable) + } + > + 時刻表 + + )} + {!currentStation[0].StationMap || ( + } + flex={1} + onPressButton={() => + Linking.openURL(currentStation[0].StationMap) + } + > + GoogleMap + + )} + + )} + + + + ); +}; diff --git a/components/settings.js b/components/settings.js index d628807..f020ed3 100644 --- a/components/settings.js +++ b/components/settings.js @@ -67,7 +67,7 @@ export default function Setting(props) { textAlignVertical: "center", }} > - 内部バージョン: 4.3.3 + 内部バージョン: 4.3.3.1 diff --git a/trainbaseview.js b/trainbaseview.js index 3f3e2e4..e8be5cd 100644 --- a/trainbaseview.js +++ b/trainbaseview.js @@ -14,6 +14,7 @@ export default function TrainBase({ route }) { console.log(info); return ( + {Platform.OS == "ios" && }