testNFCを移動
This commit is contained in:
parent
7bcdc1bfb7
commit
8cbb663178
@ -23,8 +23,6 @@ export const LayoutSettings = ({
|
||||
setTrainMenu,
|
||||
trainPosition,
|
||||
setTrainPosition,
|
||||
testNFC,
|
||||
updateAndReload,
|
||||
}) => {
|
||||
return (
|
||||
<View style={{ height: "100%", backgroundColor: "#0099CC" }}>
|
||||
@ -109,23 +107,6 @@ export const LayoutSettings = ({
|
||||
bool={trainPosition}
|
||||
setBool={setTrainPosition}
|
||||
/>
|
||||
<TouchableOpacity
|
||||
style={{ flexDirection: "row", padding: 10 }}
|
||||
onPress={testNFC}
|
||||
>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 25,
|
||||
alignItems: "center",
|
||||
alignContent: "center",
|
||||
textAlign: "center",
|
||||
textAlignVertical: "center",
|
||||
}}
|
||||
>
|
||||
testNFC
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
</ScrollView>
|
||||
</View>
|
||||
|
@ -207,6 +207,20 @@ export const SettingTopPage = ({
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</ListItem>
|
||||
<ListItem style={{ flexDirection: "row" }} onPress={() => testNFC()}>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 20,
|
||||
alignItems: "center",
|
||||
alignContent: "center",
|
||||
textAlign: "center",
|
||||
textAlignVertical: "center",
|
||||
}}
|
||||
>
|
||||
testNFC
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</ListItem>
|
||||
</View>
|
||||
</ScrollView>
|
||||
<TouchableOpacity
|
||||
|
Loading…
Reference in New Issue
Block a user