設定画面の設置
This commit is contained in:
parent
672273f699
commit
5411071dbd
9
menu.js
9
menu.js
@ -79,6 +79,7 @@ const TextBox = (props) =>{
|
||||
}
|
||||
|
||||
export default function Menu(props) {
|
||||
const { navigation: { navigate } } = props;
|
||||
const JRSTraInfoEXAcSR = useRef(null);
|
||||
const StationBoardAcSR = useRef(null);
|
||||
const navigation = useNavigation();
|
||||
@ -102,7 +103,8 @@ export default function Menu(props) {
|
||||
if((selectLineData.lng - location.longitude) < searchArea)lngBool = true;
|
||||
}
|
||||
else{
|
||||
if((location.longitude - selectLineData.lng) < searchArea)lngBool = true;
|
||||
if((location.long
|
||||
ToastAndroid.showWithGravityAndOffset(d,ToastAndroid.LONG,ToastAndroid.BOTTOM,25,50,);itude - selectLineData.lng) < searchArea)lngBool = true;
|
||||
}
|
||||
if(latBool && lngBool){
|
||||
for(let data of stationList.日英対応表){
|
||||
@ -480,11 +482,16 @@ export default function Menu(props) {
|
||||
</View>
|
||||
<Text style={{fontWeight:"bold",fontSize:20}}>このアプリについて</Text>
|
||||
<Text>このアプリはXprocess(HARUKIN)が製作しているJR四国の完全非公式アシストアプリケーションです。このアプリに関することでのJR四国公式へ問合せすることはお控えください。以下のTwitterよりお願いします。</Text>
|
||||
<Text>2022/4/14 4.1公開!列車アイコン表示が開始しました。</Text>
|
||||
<Text>2021/6/23 4.0公開!ホーム画面を大改造しました。</Text>
|
||||
<TextBox backgroundColor="#CC0000" flex={1} onPressButton={()=>Linking.openURL("https://twitter.com/Xprocess_main")}>
|
||||
<Text style={{color:"white",fontWeight:"bold",fontSize:20}}>XprocessのTwitter</Text>
|
||||
<Text style={{color:"white",fontSize:18}}>制作運営のTwitterです。</Text>
|
||||
</TextBox>
|
||||
<TextBox backgroundColor="black" flex={1} onPressButton={()=>navigate('setting')}>
|
||||
<Text style={{color:"white",fontWeight:"bold",fontSize:20}}>アプリの設定</Text>
|
||||
<Text style={{color:"white",fontSize:18}}>アプリの設定画面を表示します。</Text>
|
||||
</TextBox>
|
||||
<SvgUri width="200" height="200" source={ require('./assets/トレインビジョン関係/1.svg') } />
|
||||
</ScrollView>
|
||||
<ActionSheet ref={JRSTraInfoEXAcSR}gestureEnabled CustomHeaderComponent={()=>{}}>
|
||||
|
Loading…
Reference in New Issue
Block a user