testNFCを移動

This commit is contained in:
harukin-expo-dev-env 2024-03-27 10:44:14 +00:00
parent 7bcdc1bfb7
commit 8cbb663178
2 changed files with 14 additions and 19 deletions

View File

@ -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>

View File

@ -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