mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +00:00
feat: dynamic app icon
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { setAppIcon } from "expo-dynamic-app-icon";
|
||||
import { create } from "zustand";
|
||||
import { immer } from "zustand/middleware/immer";
|
||||
|
||||
@@ -14,6 +15,7 @@ export const useThemeStore = create(
|
||||
setTheme(v) {
|
||||
set((s) => {
|
||||
s.theme = v;
|
||||
setAppIcon(v);
|
||||
});
|
||||
},
|
||||
})),
|
||||
|
Reference in New Issue
Block a user