mirror of https://github.com/zulip/zulip.git
settings: Rename 'display_settings' to 'preferences'.
Fixes part of #26874.
This commit is contained in:
parent
6cd165386a
commit
19f315cf4f
|
@ -186,7 +186,7 @@ export function build_page() {
|
|||
color_scheme_values: settings_config.color_scheme_values,
|
||||
web_home_view_values: settings_config.web_home_view_values,
|
||||
settings_object: realm_user_settings_defaults,
|
||||
display_settings: settings_config.get_all_display_settings(),
|
||||
display_settings: settings_config.get_all_preferences(),
|
||||
settings_label: settings_config.realm_user_settings_defaults_labels,
|
||||
desktop_icon_count_display_values: settings_config.desktop_icon_count_display_values,
|
||||
enable_sound_select:
|
||||
|
|
|
@ -134,7 +134,7 @@ export function build_page() {
|
|||
desktop_icon_count_display_values: settings_config.desktop_icon_count_display_values,
|
||||
show_push_notifications_tooltip:
|
||||
settings_config.all_notifications(user_settings).show_push_notifications_tooltip,
|
||||
display_settings: settings_config.get_all_display_settings(),
|
||||
display_settings: settings_config.get_all_preferences(),
|
||||
user_can_change_name: settings_data.user_can_change_name(),
|
||||
user_can_change_avatar: settings_data.user_can_change_avatar(),
|
||||
user_can_change_email: settings_data.user_can_change_email(),
|
||||
|
|
|
@ -139,7 +139,7 @@ export type DisplaySettings = {
|
|||
};
|
||||
|
||||
/* istanbul ignore next */
|
||||
export const get_all_display_settings = (): DisplaySettings => ({
|
||||
export const get_all_preferences = (): DisplaySettings => ({
|
||||
settings: {
|
||||
user_display_settings: [
|
||||
"dense_mode",
|
||||
|
|
Loading…
Reference in New Issue