format code

This commit is contained in:
Ramon Souza 2021-06-24 16:50:46 -03:00
parent fbfe371b40
commit b7bf014e76
2 changed files with 4 additions and 4 deletions

View File

@ -55,7 +55,7 @@ const FullscreenButtonComponent = ({
if (isIphone) return null;
const formattedLabel = (isFullscreen) => {
return(isFullscreen ?
return (isFullscreen ?
intl.formatMessage(
intlMessages.fullscreenUndoButton,
({ 0: elementName || '' }),
@ -75,9 +75,9 @@ const FullscreenButtonComponent = ({
});
const handleClick = () => {
if(layoutManagerLoaded === 'legacy'){
if (layoutManagerLoaded === 'legacy') {
handleToggleFullScreen(fullscreenRef);
}else{
} else {
newLayoutContextDispatch({
type: ACTIONS.SET_PRESENTATION_IS_FULLSCREEN,
value: !isFullscreen,

View File

@ -869,7 +869,7 @@ class Presentation extends PureComponent {
width: layoutLoaded === 'new' ? presentationBounds.width : undefined,
height: layoutLoaded === 'new' ? presentationBounds.height : undefined,
zIndex: layoutLoaded === 'new' && fullscreenContext ? presentationBounds.zIndex : undefined,
backgroundColor: layoutLoaded === 'new' ? '#06172A': undefined,
backgroundColor: layoutLoaded === 'new' ? '#06172A' : undefined,
}}
>
{isFullscreen && <PollingContainer />}