refactor: End meeting button tweaks (#19261)

* use label endMeetingForAll also for end button in settings dropdown

* change end button icon in settings dropdown from icon-bbb-application to icon-bbb-close
This commit is contained in:
Jan Kessler 2024-02-16 21:50:52 +01:00 committed by GitHub
parent 5f0eb9ecb9
commit 2f091ffd3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,8 +85,8 @@ const intlMessages = defineMessages({
id: 'app.navBar.settingsDropdown.helpDesc',
description: 'Describes help option',
},
endMeetingLabel: {
id: 'app.navBar.settingsDropdown.endMeetingLabel',
endMeetingForAllLabel: {
id: 'app.navBar.settingsDropdown.endMeetingForAllLabel',
description: 'End meeting options label',
},
endMeetingDesc: {
@ -361,8 +361,8 @@ class SettingsDropdown extends PureComponent {
this.menuItems.push(
{
key: 'list-item-end-meeting',
icon: 'application',
label: intl.formatMessage(intlMessages.endMeetingLabel),
icon: 'close',
label: intl.formatMessage(intlMessages.endMeetingForAllLabel),
description: intl.formatMessage(intlMessages.endMeetingDesc),
customStyles,
onClick: () => this.setEndMeetingConfirmationModalIsOpen(true),