Skip to content
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

Merged
merged 2 commits into from
Sep 29, 2022
Merged

CU-2pjkxye - No visible QR code #2426

merged 2 commits into from
Sep 29, 2022

Conversation

raulduartep
Copy link
Contributor

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?

  • Unit tests written?

@@ -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()
Copy link
Member

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

Copy link
Contributor Author

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' })
Copy link
Member

Choose a reason for hiding this comment

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

We should skip the instructions part OR make the instructions say something different than "Choose a passphrase to encrypt an existing key" like "please save your information in a safe place" once they have successfully encrypted a key (at this point they have already chosen a passphrase)

Screen Shot 2022-09-01 at 10 28 35 AM

Copy link
Contributor Author

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.

@comountainclimber
Copy link
Member

Two minor things I noticed when reviewing this... Nice work @raulduartep !! 💪

@comountainclimber
Copy link
Member

@raulduartep please let me know when the feedback has been addressed and merge conflicts are resolved 👀

@comountainclimber comountainclimber merged commit 1d8295a into dev Sep 29, 2022
@comountainclimber comountainclimber deleted the NWD-CU-2pjkxye branch September 23, 2023 15:44
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.

3 participants