Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Fix copy-to-clipboard functionality - Closes #1008 #1010

Merged
merged 3 commits into from
Nov 24, 2017
Merged

Conversation

reyraa
Copy link
Contributor

@reyraa reyraa commented Nov 24, 2017

What was the problem?

The value of this.state.result is empty at the time showResult tries to pass it to copy.

How did I fix it?

Returned the new value in sign and used it in showResult. this use the generated value directly giving React time to update the view.

How to test it?

Make sure signMessage copies the result in clipboard

Review checklist

@reyraa reyraa self-assigned this Nov 24, 2017
@reyraa reyraa requested a review from slaweet November 24, 2017 10:23
Copy link
Contributor

@slaweet slaweet left a comment

Choose a reason for hiding this comment

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

Thank you Ali

@reyraa reyraa merged commit af1594a into 1.3.0 Nov 24, 2017
@reyraa reyraa deleted the 1008-clipboard-issue branch November 24, 2017 11:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants