-
Notifications
You must be signed in to change notification settings - Fork 102
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
fix: unlock stronghold at the end of the onboarding process #7047
Conversation
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.
Added some comments 🙏🏼
packages/desktop/views/onboarding/views/complete-onboarding/views/EnterNameView.svelte
Outdated
Show resolved
Hide resolved
packages/desktop/views/onboarding/views/complete-onboarding/views/EnterPinView.svelte
Outdated
Show resolved
Hide resolved
...ges/desktop/views/onboarding/views/restore-from-stronghold/views/UnlockStrongholdView.svelte
Outdated
Show resolved
Hide resolved
packages/shared/lib/contexts/onboarding/interfaces/onboarding-profile.interface.ts
Outdated
Show resolved
Hide resolved
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.
Great work, added some comments 🙏🏼
packages/desktop/views/onboarding/views/complete-onboarding/CompleteOnboardingRouterView.svelte
Outdated
Show resolved
Hide resolved
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.
almost there, added minor comments 🙏🏼
packages/desktop/views/onboarding/views/complete-onboarding/views/FinishOnboardingView.svelte
Outdated
Show resolved
Hide resolved
packages/desktop/views/onboarding/views/complete-onboarding/views/FinishOnboardingView.svelte
Outdated
Show resolved
Hide resolved
@cpl121 lets also update the PR title and description 🙏🏼 |
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.
🔥
* fix: block onboarding process if stronghold is locked * fix: move logic to the router and check stronghold locked by bindings * fix: move logic to finish onboarding view * perf: simplify and rename unlockStronghold * enhancement: simplify code & add comment * chore: cleanup warnings --------- Co-authored-by: Begoña Alvarez <balvarez@boxfish.studio>
Closes #4823
Summary
Unlock stronghold at the end of the onboarding process to avoid an error due to the stronghold file being locked for a long time
Changelog
Testing
Platforms
Instructions
...
Checklist