-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CU-2pjkxye - No visible QR code #2426
Conversation
@@ -45,7 +45,7 @@ export default function withCopyCanvasToClipboard(Component) { | |||
// $FlowFixMe | |||
const url = ref.toDataURL('image/jpg', 0.8) | |||
const base64Data = url.replace(/^data:image\/png;base64,/, '') | |||
const storagePath = storage.getDefaultDataPath() | |||
const storagePath = storage.getDataPath() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am pretty sure this is not going to give you the path we use everywhere else in the application... We should be using const path = await ipcRenderer.invoke('getStoragePath')
here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All right. I was a bit confused on how to get the storage path. Thanks for the alert, I will fix this.
renderHeaderIcon={HeaderIcon} | ||
renderInstructions={ | ||
encryptedWIF | ||
? () => intl.formatMessage({ id: 'encryptInstructions' }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. You are right. I will fix.
Two minor things I noticed when reviewing this... Nice work @raulduartep !! 💪 |
3e2db74
to
6156058
Compare
@raulduartep please let me know when the feedback has been addressed and merge conflicts are resolved 👀 |
6156058
to
4e95189
Compare
What current issue(s) from Trello/Github does this address?
What problem does this PR solve?
How did you solve this problem?
How did you make sure your solution works?
Are there any special changes in the code that we should be aware of?
Is there anything else we should know?