Adjust link with correct filename

This commit is contained in:
Matthias Pfeil 2021-10-06 10:33:04 +02:00
parent faabd9e693
commit 508591f685
No known key found for this signature in database
GPG Key ID: 8F0DF3A13C08E7D9

View File

@ -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 {