-
Notifications
You must be signed in to change notification settings - Fork 8
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
auto-close dialog when no access to the camera #93
Conversation
✅ Deploy Preview for wallet-staging ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for wallet-testnet ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
watch: { | ||
showDlg() { | ||
if (this.showDlg) { | ||
setTimeout(async () => { this.activateQR = true; }, 250); |
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.
arrow function doesn't need to be async
as it has no async code
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.
looks good, i like the different error messages 👍 left an optional comment
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.
yarn.lock
should not be deleted
b60b481
to
ea6a2aa
Compare
Fixes #29
Description
The dialog did not react to the denial of access to the camera remaining open and useless. The user had to refresh to come back to the balances page. This PR fixes that idle behavior by closing the dialog when non-access to the camera is detected, showing to the user an appropriate notification message.
Test notes
To test this new behavior you need to follow these steps:
##screenshots
Checklist: