diff --git a/components/Settings/LauncherIconSettings.js b/components/Settings/LauncherIconSettings.js index 96434c0..5bcf07c 100644 --- a/components/Settings/LauncherIconSettings.js +++ b/components/Settings/LauncherIconSettings.js @@ -9,6 +9,7 @@ import { Platform, } from "react-native"; import { useNavigation } from "@react-navigation/native"; +import * as Updates from "expo-updates"; import { AS } from "../../storageControl"; import icons from "../../assets/icons/icons"; import { setAlternateAppIcon, getAppIconName } from "expo-alternate-app-icons"; @@ -132,6 +133,8 @@ export const LauncherIconSettings = ({ navigate }) => { "アイコンを変更しました。アプリを再起動します。", ToastAndroid.SHORT ); + } else if (Platform.OS === "ios") { + Updates.reloadAsync(); } }) .catch((err) => {