remove unused code

This commit is contained in:
Ramón Souza 2023-07-07 13:22:34 -03:00
parent d50e0ee2cd
commit 870d773fdf
4 changed files with 2 additions and 13 deletions

View File

@ -101,10 +101,6 @@ const intlMessages = defineMessages({
id: 'app.actionsBar.actionsDropdown.selectRandUserDesc',
description: 'Description for select random user option',
},
propagateLayoutLabel: {
id: 'app.actionsBar.actionsDropdown.propagateLayoutLabel',
description: 'Label for propagate layout button',
},
layoutModal: {
id: 'app.actionsBar.actionsDropdown.layoutModal',
description: 'Label for layouts selection button',

View File

@ -47,10 +47,6 @@ const LayoutModalComponent = (props) => {
id: 'app.layout.modal.layoutToastLabel',
description: 'Layout toast label',
},
keepPushingLayoutLabel: {
id: 'app.layout.modal.keepPushingLayoutLabel',
description: 'Keep push layout Label',
},
customLayout: {
id: 'app.layout.style.custom',
description: 'label for custom layout style',

View File

@ -9,10 +9,10 @@ import {
} from '/imports/ui/components/settings/service';
const LayoutModalContainer = (props) => {
const { intl, setIsOpen,onRequestClose, isOpen, isModerator, isPresenter, showToggleLabel,
const { intl, setIsOpen,onRequestClose, isOpen, isModerator, isPresenter,
application, updateSettings, } = props;
return <LayoutModalComponent {...{
intl, setIsOpen, isModerator, isPresenter, showToggleLabel,
intl, setIsOpen, isModerator, isPresenter,
application, updateSettings, onRequestClose, isOpen,
}} />};
@ -21,5 +21,4 @@ export default withTracker(({ amIModerator }) => ({
updateSettings,
isPresenter: isPresenter(),
isModerator: amIModerator,
showToggleLabel: false,
}))(LayoutModalContainer);

View File

@ -631,7 +631,6 @@
"app.actionsBar.actionsDropdown.takePresenterDesc": "Assign yourself as the new presenter",
"app.actionsBar.actionsDropdown.selectRandUserLabel": "Select random user",
"app.actionsBar.actionsDropdown.selectRandUserDesc": "Chooses a user from available viewers at random",
"app.actionsBar.actionsDropdown.propagateLayoutLabel": "Propagate layout",
"app.actionsBar.interactions.interactions": "Interactions",
"app.actionsBar.interactions.raiseHand": "Raise your hand",
"app.actionsBar.interactions.lowHand": "Lower your hand",
@ -1238,7 +1237,6 @@
"app.layout.modal.update": "Update",
"app.layout.modal.updateAll": "Update everyone",
"app.layout.modal.layoutLabel": "Select your layout",
"app.layout.modal.keepPushingLayoutLabel": "Push layout to all",
"app.layout.modal.pushLayoutLabel": "Push to everyone",
"app.layout.modal.layoutToastLabel": "Layout settings changed",
"app.layout.modal.layoutSingular": "Layout",