mirror of https://github.com/zulip/zulip.git
display_settings: Move out `high_contrast_mode` from checkbox group.
`high_contrast_mode` was part of the checkbox group obtained by calling `get_all_preferences`. For the new layout change, it will not be a part of that group and this is a preparatory commit seperating it out from that group. We will also rename that checkbox group in future commits.
This commit is contained in:
parent
554e9f7e29
commit
39af05f475
|
@ -151,7 +151,6 @@ export type DisplaySettings = {
|
|||
export const get_all_preferences = (): DisplaySettings => ({
|
||||
settings: {
|
||||
user_display_settings: [
|
||||
"high_contrast_mode",
|
||||
"starred_message_counts",
|
||||
"receives_typing_notifications",
|
||||
"fluid_layout_width",
|
||||
|
|
|
@ -198,5 +198,12 @@
|
|||
prefix=../prefix}}
|
||||
{{/each}}
|
||||
|
||||
{{> settings_checkbox
|
||||
setting_name="high_contrast_mode"
|
||||
is_checked=settings_object.high_contrast_mode
|
||||
label=settings_label.high_contrast_mode
|
||||
render_only=settings_render_only.high_contrast_mode
|
||||
prefix=prefix}}
|
||||
|
||||
</div>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue