feat: add analytics

This commit is contained in:
Kentai Radiquum 2024-08-18 20:21:36 +05:00
parent 33d34938c6
commit 6d4d320da8
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
9 changed files with 67 additions and 15 deletions

View file

@ -9,6 +9,7 @@ interface preferencesState {
// saveSearchHistory: boolean;
saveWatchHistory?: boolean;
showChangelog?: boolean;
enableAnalytics?: boolean;
};
params: {
isFirstLaunch?: boolean;
@ -32,6 +33,7 @@ export const usePreferencesStore = create<preferencesState>()(
// saveSearchHistory: true,
saveWatchHistory: true,
showChangelog: true,
enableAnalytics: true,
},
params: {
isFirstLaunch: true,