From 508591f685e6a01cb037652d9bc9addea5261085 Mon Sep 17 00:00:00 2001 From: Matthias Pfeil Date: Wed, 6 Oct 2021 10:33:04 +0200 Subject: [PATCH] Adjust link with correct filename --- src/components/Workspace/Compile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Workspace/Compile.js b/src/components/Workspace/Compile.js index 07401f3..dd81e49 100644 --- a/src/components/Workspace/Compile.js +++ b/src/components/Workspace/Compile.js @@ -134,8 +134,9 @@ class Compile extends Component { createFileName = () => { if (this.props.platform === "iOS") { + const filename = detectWhitespacesAndReturnReadableResult(this.state.name); this.setState({ - link: `blocklyconnect-app://${this.state.name}/${this.state.id}`, + link: `blocklyconnect-app://sketch/${filename}/${this.state.id}`, }); this.setState({ appDialog: true }); } else {