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