-
Notifications
You must be signed in to change notification settings - Fork 318
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
✨feat(llm): add scan WS qr code #7512
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 5 Skipped Deployments
|
f5f105d
to
20a52d7
Compare
25321b5
to
b2aaec1
Compare
53ec55b
to
ceb3409
Compare
bbf095b
to
ba9af29
Compare
}: Props) => { | ||
const { colors } = useTheme(); | ||
|
||
return ( | ||
<Flex flex={1} bg="background.main" px={6}> | ||
<Flex flex={1} bg={hasNoBackground ? null : "background.main"} px={6}> |
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.
"transparent" ?
apps/ledger-live-mobile/src/components/RequiresCameraPermissions/index.tsx
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.
What is it ?
You can it in package Icons
?
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.
That's the svg for the camera border not an Icon
It's already used for the original camera I've just duplicated it here and remove some parts of the svg
@@ -41,11 +40,12 @@ function View({ | |||
hasBackButton={canGoBack} | |||
onBack={goBackToPreviousStep} | |||
> | |||
<Flex maxHeight={maxDrawerHeight}> | |||
<Flex maxHeight={"90%"}> |
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.
Why not 100%, even with 100% you still have a gap between top of screen if I'm correct
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.
2c87ba4
to
3380503
Compare
3380503
to
d8eee1b
Compare
@mcayuelas-ledger changed |
const onQrCodeScanned = (data: string) => { | ||
// eslint-disable-next-line no-console | ||
console.log(data); | ||
// setCurrentStep(Steps.PinCodeInput); | ||
}; |
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.
Fixed in next PR :)
The base branch was changed.
Yes I know but in Android the camera can't be rounded so I need to see with Cédric what is the best solution |
const { t } = useTranslation(); | ||
|
||
const QRSize = Math.round(width - 48); | ||
const maxQRCodeSize = 280 - 15.36 * 2; |
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.
What's this 15.36
?
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.
It has been done in previous PR I need to rebase
maxWidth={280} | ||
maxHeight={280} | ||
borderRadius={11.52} | ||
background={"#fff"} |
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.
Can we use the design system constant.white
instead ?
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.
It has been done in previous PR I need to rebase
d8eee1b
to
d0735fe
Compare
@cgrellard-ledger |
f420e83
to
45bd697
Compare
✨feat(llm): import account flow change ✨feat(llm): add back arrow to queued drawer ✨feat(llm): rework activation flow ✨feat(llm): clean ✨feat(llm): change walletsync to ledgersync for tracking ✨feat(llm): add qr code drawer from manage ws ✨feat(llm): refactor of ws setting inte test ✨feat(llm): rework activation flow ✨feat(llm): change walletsync to ledgersync for tracking ✨feat(llm): add scan WS qr code
45bd697
to
d39dde4
Compare
✅ Checklist
npx changeset
was attached.📝 Description
Add the scan of LLD WS Qr code.
Change numbered list to fit with designs
Screen.Recording.2024-08-06.at.10.34.54.mov
❓ Context
🧐 Checklist for the PR Reviewers