refactor: changed settings modal flow

This commit is contained in:
Kentai Radiquum 2025-03-14 21:00:14 +05:00
parent 046ef3a9a4
commit 0c6c990c67
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
3 changed files with 97 additions and 30 deletions

View file

@ -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) => {