mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +00:00
fix: use different module that probably builds on windows
This commit is contained in:
@@ -59,7 +59,7 @@ const defineConfig = (): ExpoConfig => ({
|
||||
},
|
||||
],
|
||||
[
|
||||
"expo-dynamic-app-icon",
|
||||
"@config-plugins/react-native-dynamic-app-icon",
|
||||
{
|
||||
main: {
|
||||
image: "./assets/images/main.png",
|
||||
|
@@ -18,6 +18,7 @@
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@config-plugins/react-native-dynamic-app-icon": "^7.0.0",
|
||||
"@expo/metro-config": "^0.17.3",
|
||||
"@movie-web/colors": "*",
|
||||
"@movie-web/provider-utils": "*",
|
||||
@@ -36,7 +37,6 @@
|
||||
"expo-brightness": "~11.8.0",
|
||||
"expo-build-properties": "~0.11.1",
|
||||
"expo-constants": "~15.4.5",
|
||||
"expo-dynamic-app-icon": "github:simonsturge/expo-dynamic-app-icon",
|
||||
"expo-haptics": "~12.8.1",
|
||||
"expo-linear-gradient": "^12.7.2",
|
||||
"expo-linking": "~6.2.2",
|
||||
@@ -64,6 +64,7 @@
|
||||
"react-native-screens": "~3.29.0",
|
||||
"react-native-svg": "14.1.0",
|
||||
"react-native-web": "^0.19.10",
|
||||
"rn-dynamic-app-icon": "^0.6.1",
|
||||
"subsrt-ts": "^2.1.2",
|
||||
"tamagui": "^1.91.4",
|
||||
"zustand": "^4.4.7"
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { setAppIcon } from "expo-dynamic-app-icon";
|
||||
import { changeIcon } from "rn-dynamic-app-icon";
|
||||
import { create } from "zustand";
|
||||
import { immer } from "zustand/middleware/immer";
|
||||
|
||||
@@ -26,7 +26,7 @@ export const useThemeStore = create(
|
||||
.then(() => {
|
||||
set((s) => {
|
||||
s.theme = newTheme;
|
||||
setAppIcon(newTheme);
|
||||
void changeIcon(newTheme);
|
||||
});
|
||||
})
|
||||
.catch((error) => {
|
||||
|
Reference in New Issue
Block a user