{this.props.errors.length > 0 &&
{this.props.errors.map(({id, sprite, error}) => (
))}
}
{(this.props.canManageFiles) && (
{this.props.onClickNewWindow && (
)}
{(this.props.canSave || this.props.canCreateCopy || this.props.canRemix) && (
{this.props.canSave && (
)}
{this.props.canCreateCopy && (
)}
{this.props.canRemix && (
)}
)}
{(_className, downloadProject, extended) => (
{extended.available && (
{extended.name !== null && (
// eslint-disable-next-line max-len
)}
{/* eslint-disable-next-line max-len */}
)}
{notScratchDesktop() && (
)}
)}
{this.props.onClickPackager && (
)}
{this.getAutosaveEnabled() && (
)}
)}
{this.props.isPlayerOnly ? null : (
{(handleRestore, {restorable, deletedItem}) => (
)}
)}
{(toggleTurboMode, {turboMode}) => (
)}
{(changeFramerate, {framerate}) => (
)}
{changeUsername => (
)}
{(toggleCloudVariables, {enabled, canUseCloudVariables}) => (
)}
{this.props.onClickAddonSettings && (
)}
{this.props.isTotallyNormal && (
)}
{(this.props.canChangeTheme || this.props.canChangeLanguage) && (
)}
{this.props.canEditTitle ? (
) : ((this.props.authorUsername && this.props.authorUsername !== this.props.username) ? (
) : null)}
{this.props.canShare ? (
(this.props.isShowingProject || this.props.isUpdating) && (
{
waitForUpdate => (
{
this.handleClickShare(waitForUpdate);
}}
/* eslint-enable react/jsx-no-bind */
/>
)
}
)
) : this.props.showComingSoon ? (
) : null}
{this.props.canRemix && (
{remixButton}
)}
{this.props.enableCommunity ? (
(this.props.isShowingProject || this.props.isUpdating) && (
{
waitForUpdate => (
{
this.handleClickSeeCommunity(waitForUpdate);
}}
/* eslint-enable react/jsx-no-bind */
/>
)
}
)
) : (this.props.showComingSoon ? (
) : (this.props.enableSeeInside ? (
) : []))}
{/* tw: add a feedback button */}