Adjust link with correct filename
This commit is contained in:
parent
faabd9e693
commit
508591f685
@ -134,8 +134,9 @@ class Compile extends Component {
|
|||||||
|
|
||||||
createFileName = () => {
|
createFileName = () => {
|
||||||
if (this.props.platform === "iOS") {
|
if (this.props.platform === "iOS") {
|
||||||
|
const filename = detectWhitespacesAndReturnReadableResult(this.state.name);
|
||||||
this.setState({
|
this.setState({
|
||||||
link: `blocklyconnect-app://${this.state.name}/${this.state.id}`,
|
link: `blocklyconnect-app://sketch/${filename}/${this.state.id}`,
|
||||||
});
|
});
|
||||||
this.setState({ appDialog: true });
|
this.setState({ appDialog: true });
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user