refactor(webcams): remove video preview cancel/confirm/something button
Another round of experimentation with that button. Removing it due to its role being already contemplated by two other actions in the modal: clicking outside and the X icon Will have to see how this is received in internal testing
This commit is contained in:
parent
9ce58c38e7
commit
143ea132b9
@ -83,10 +83,6 @@ const intlMessages = defineMessages({
|
||||
id: 'app.videoPreview.quality.hd',
|
||||
description: 'High definition option label',
|
||||
},
|
||||
cancelLabel: {
|
||||
id: 'app.videoPreview.cancelLabel',
|
||||
description: 'Cancel button label',
|
||||
},
|
||||
startSharingLabel: {
|
||||
id: 'app.videoPreview.startSharingLabel',
|
||||
description: 'Start sharing button label',
|
||||
@ -772,11 +768,6 @@ class VideoPreview extends Component {
|
||||
: null
|
||||
}
|
||||
<div className={styles.actions}>
|
||||
<Button
|
||||
label={intl.formatMessage(intlMessages.cancelLabel)}
|
||||
onClick={this.handleProceed}
|
||||
disabled={shouldDisableButtons}
|
||||
/>
|
||||
<Button
|
||||
data-test="startSharingWebcam"
|
||||
color={shared ? 'danger' : 'primary'}
|
||||
|
Loading…
Reference in New Issue
Block a user