mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 18:09:40 +05:00
refactor: changed settings modal flow
This commit is contained in:
parent
046ef3a9a4
commit
0c6c990c67
3 changed files with 97 additions and 30 deletions
|
@ -18,6 +18,9 @@ interface preferencesState {
|
|||
enabled: boolean;
|
||||
homeCategory: string;
|
||||
bookmarksCategory: string;
|
||||
};
|
||||
experimental?: {
|
||||
newPlayer: boolean;
|
||||
}
|
||||
// color: {
|
||||
// primary: string;
|
||||
|
@ -47,6 +50,9 @@ export const usePreferencesStore = create<preferencesState>()(
|
|||
enabled: false,
|
||||
homeCategory: "last",
|
||||
bookmarksCategory: "watching",
|
||||
},
|
||||
experimental: {
|
||||
newPlayer: false
|
||||
}
|
||||
},
|
||||
setHasHydrated: (state) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue