iOSでの削除

This commit is contained in:
harukin-expo-dev-env 2024-03-29 15:44:40 +00:00
parent d55a62b8ae
commit f55420e3ab

View File

@ -6,6 +6,7 @@ import {
ScrollView, ScrollView,
Linking, Linking,
Image, Image,
Platform,
} from "react-native"; } from "react-native";
import * as Updates from "expo-updates"; import * as Updates from "expo-updates";
import { SwitchArea } from "../atom/SwitchArea"; import { SwitchArea } from "../atom/SwitchArea";
@ -167,34 +168,36 @@ export const SettingTopPage = ({
{">"} {">"}
</Text> </Text>
</ListItem> </ListItem>
<ListItem {Platform.OS === "android" ? (
style={{ flexDirection: "row" }} <ListItem
onPress={() => navigate("WidgetSettings")} style={{ flexDirection: "row" }}
> onPress={() => navigate("WidgetSettings")}
<Text
style={{
fontSize: 20,
alignItems: "center",
alignContent: "center",
textAlign: "center",
textAlignVertical: "center",
}}
> >
ウィジェット設定 <Text
</Text> style={{
<View style={{ flex: 1 }} /> fontSize: 20,
<Text alignItems: "center",
style={{ alignContent: "center",
fontSize: 20, textAlign: "center",
alignItems: "center", textAlignVertical: "center",
alignContent: "center", }}
textAlign: "center", >
textAlignVertical: "center", ウィジェット設定
}} </Text>
> <View style={{ flex: 1 }} />
{">"} <Text
</Text> style={{
</ListItem> fontSize: 20,
alignItems: "center",
alignContent: "center",
textAlign: "center",
textAlignVertical: "center",
}}
>
{">"}
</Text>
</ListItem>
) : null}
<ListItem <ListItem
style={{ flexDirection: "row" }} style={{ flexDirection: "row" }}
onPress={() => onPress={() =>