changed fullScreen to fullscreen
This commit is contained in:
parent
3f773684bc
commit
8607eff5d6
@ -92,14 +92,14 @@ class SettingsDropdown extends Component {
|
|||||||
render() {
|
render() {
|
||||||
const { intl, mountModal, isFullScreen } = this.props;
|
const { intl, mountModal, isFullScreen } = this.props;
|
||||||
|
|
||||||
let fullScreenLabel = intl.formatMessage(intlMessages.fullscreenLabel);
|
let fullscreenLabel = intl.formatMessage(intlMessages.fullscreenLabel);
|
||||||
let fullScreenDesc = intl.formatMessage(intlMessages.fullscreenDesc);
|
let fullscreenDesc = intl.formatMessage(intlMessages.fullscreenDesc);
|
||||||
let fullScreenIcon = 'fullscreen';
|
let fullscreenIcon = 'fullscreen';
|
||||||
|
|
||||||
if (isFullScreen) {
|
if (isFullScreen) {
|
||||||
fullScreenLabel = intl.formatMessage(intlMessages.exitFullscreenLabel);
|
fullscreenLabel = intl.formatMessage(intlMessages.exitFullscreenLabel);
|
||||||
fullScreenDesc = intl.formatMessage(intlMessages.exitFullscreenDesc);
|
fullscreenDesc = intl.formatMessage(intlMessages.exitFullscreenDesc);
|
||||||
fullScreenIcon = 'exit_fullscreen';
|
fullscreenIcon = 'exit_fullscreen';
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@ -124,9 +124,9 @@ class SettingsDropdown extends Component {
|
|||||||
<DropdownContent placement="bottom right">
|
<DropdownContent placement="bottom right">
|
||||||
<DropdownList>
|
<DropdownList>
|
||||||
<DropdownListItem
|
<DropdownListItem
|
||||||
icon={fullScreenIcon}
|
icon={fullscreenIcon}
|
||||||
label={fullScreenLabel}
|
label={fullscreenLabel}
|
||||||
description={fullScreenDesc}
|
description={fullscreenDesc}
|
||||||
onClick={this.props.handleToggleFullscreen}
|
onClick={this.props.handleToggleFullscreen}
|
||||||
/>
|
/>
|
||||||
<DropdownListItem
|
<DropdownListItem
|
||||||
|
Loading…
Reference in New Issue
Block a user