Skip to content

Conversation

@YaroslavOvdii
Copy link
Contributor

@YaroslavOvdii YaroslavOvdii commented Aug 16, 2019

@tonytlwu @squallstar

Issue

https://github.com/Fliplet/fliplet-studio/issues/3755

Description

Created a save function witch is saving data on change icon or splash screen.

Screenshots/screencasts

issue-3755

Backward compatibility

This change is fully backward compatible.

Notes

Slightly altered saving functions so that they return a promise.

js/interface.js Outdated
appId: Fliplet.Env.get('appId')
}
});
})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move .catch() to this line

Suggested change
})
}).catch(function (err) {

js/interface.js Outdated
Fliplet.Modal.alert({
message: Fliplet.parseError(err)
})
})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
})
});

js/interface.js Outdated
Fliplet.Modal.alert({
message: Fliplet.parseError(err)
})
})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
})
});

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tonytlwu
Fixed

@tonytlwu tonytlwu merged commit a5385ad into Fliplet:master Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants