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