Chore: Refactor useThemeMode in favor of userPreferences (#28063)
Co-authored-by:
Júlia Jaeger Foresti <60678893+juliajforesti@users.noreply.github.com>
Showing
- apps/meteor/app/lib/server/startup/settings.ts 19 additions, 0 deletionsapps/meteor/app/lib/server/startup/settings.ts
- apps/meteor/client/sidebar/header/UserDropdown.tsx 3 additions, 3 deletionsapps/meteor/client/sidebar/header/UserDropdown.tsx
- apps/meteor/client/views/account/preferences/PreferencesGlobalSection.tsx 18 additions, 3 deletions...nt/views/account/preferences/PreferencesGlobalSection.tsx
- apps/meteor/packages/rocketchat-i18n/i18n/en.i18n.json 2 additions, 1 deletionapps/meteor/packages/rocketchat-i18n/i18n/en.i18n.json
- ee/packages/ui-theming/src/hooks/useThemeMode.ts 10 additions, 4 deletionsee/packages/ui-theming/src/hooks/useThemeMode.ts
- packages/rest-typings/src/v1/users/UsersSetPreferenceParamsPOST.ts 5 additions, 0 deletions...rest-typings/src/v1/users/UsersSetPreferenceParamsPOST.ts
- packages/ui-contexts/src/ServerContext/methods/saveUserPreferences.ts 1 addition, 0 deletions...contexts/src/ServerContext/methods/saveUserPreferences.ts
Loading
Please register or sign in to comment