-
Notifications
You must be signed in to change notification settings - Fork 332
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(LLD): Retry CLS installation after locking & unlocking device #7843
fix(LLD): Retry CLS installation after locking & unlocking device #7843
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ 5 Skipped Deployments
|
1211f44
to
9ea5b78
Compare
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.
π . Is there no new UT because this code is untestable isn't it?
...dger-live-desktop/src/renderer/components/CustomImage/CustomLockScreenDeviceAction/index.tsx
Outdated
Show resolved
Hide resolved
onError && onError(error); | ||
}, [dispatch, error, onError]); | ||
if (!isRefusedOnStaxError) { | ||
onError && onError(error); | ||
} | ||
}, [dispatch, error, onError, isRefusedOnStaxError]); |
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.
[ASK] Why this change ? What happens now when the user refuses the picture on the device ?
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.
@ofreyssinet-ledger I simplified the logic now as the prev. condition was redundant
805b1ff
805b1ff
to
ab262cc
Compare
ab262cc
to
4bcd00b
Compare
β Checklist
npx changeset
was attached.π Description
LLD will retry CLS installation on Stax and Flex after locking & unlocking device while CLS image is being uploaded
β Context
π§ Checklist for the PR Reviewers