mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2024-12-22 21:52:31 -05:00
add canEditTitle and projectTitle props
This commit is contained in:
parent
f9e77bc508
commit
43f7cd5028
1 changed files with 2 additions and 0 deletions
|
@ -73,8 +73,10 @@ const ScratchDesktopHOC = function (WrappedComponent) {
|
|||
render () {
|
||||
const shouldShowTelemetryModal = (typeof ipcRenderer.sendSync('getTelemetryDidOptIn') !== 'boolean');
|
||||
return (<WrappedComponent
|
||||
canEditTitle
|
||||
isScratchDesktop
|
||||
projectId={defaultProjectId}
|
||||
projectTitle={this.state.projectTitle}
|
||||
showTelemetryModal={shouldShowTelemetryModal}
|
||||
onClickLogo={this.handleClickLogo}
|
||||
onProjectTelemetryEvent={this.handleProjectTelemetryEvent}
|
||||
|
|
Loading…
Reference in a new issue