mirror of https://github.com/zulip/zulip.git
display_settings: Add fade to emoji-theme & user-list-style banners.
Added a 1000ms fadeout timer to the success banners for the 'Emoji' theme and 'user-list-style' checkbox, to match the other banners in display settings. Fixes: #23288.
This commit is contained in:
parent
189ceee8f0
commit
f081c4abfd
|
@ -254,6 +254,7 @@ export async function report_emojiset_change(settings_panel) {
|
||||||
ui_report.success(
|
ui_report.success(
|
||||||
$t_html({defaultMessage: "Emoji set changed successfully!"}),
|
$t_html({defaultMessage: "Emoji set changed successfully!"}),
|
||||||
$spinner.expectOne(),
|
$spinner.expectOne(),
|
||||||
|
1000,
|
||||||
);
|
);
|
||||||
$spinner.expectOne();
|
$spinner.expectOne();
|
||||||
settings_ui.display_checkmark($spinner);
|
settings_ui.display_checkmark($spinner);
|
||||||
|
@ -273,6 +274,7 @@ export async function report_user_list_style_change(settings_panel) {
|
||||||
ui_report.success(
|
ui_report.success(
|
||||||
$t_html({defaultMessage: "User list style changed successfully!"}),
|
$t_html({defaultMessage: "User list style changed successfully!"}),
|
||||||
$spinner.expectOne(),
|
$spinner.expectOne(),
|
||||||
|
1000,
|
||||||
);
|
);
|
||||||
$spinner.expectOne();
|
$spinner.expectOne();
|
||||||
settings_ui.display_checkmark($spinner);
|
settings_ui.display_checkmark($spinner);
|
||||||
|
|
Loading…
Reference in New Issue