mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-01-09 14:12:05 -05:00
Add onProjectTelemetryEvent handler for GUI
This commit is contained in:
parent
77b8a13d64
commit
34d96bf49c
1 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,9 @@ const guiProps = {
|
|||
},
|
||||
onTelemetryModalOptOut: () => {
|
||||
ipcRenderer.send('setTelemetryDidOptIn', false);
|
||||
},
|
||||
onProjectTelemetryEvent: (event, metadata) => {
|
||||
ipcRenderer.send(event, metadata);
|
||||
}
|
||||
};
|
||||
const wrappedGui = React.createElement(WrappedGui, guiProps);
|
||||
|
|
Loading…
Reference in a new issue