-
Notifications
You must be signed in to change notification settings - Fork 26
feat: add qr code to register nano contract #533
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
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.
Missing translations
@@ -21,6 +21,7 @@ import { | |||
useSelector | |||
} from 'react-redux'; | |||
import { t } from 'ttag'; | |||
import QRCode from 'react-native-qrcode-svg'; |
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.
Unused
<QRCodeReader | ||
navigation={navigation} | ||
onSuccess={onSuccess} | ||
bottomText={t`Scan the token QR 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.
Missing translation for this file
}} | ||
> | ||
<HathorHeader | ||
title={t`Register Nano Contract`.toUpperCase()} |
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 you change this to Nano Contract Registration
? Or change the one in the previous screen to Register Nano Contract
so they're consistent when navigating?
6fdcf43
to
a9f7595
Compare
a9f7595
to
bae7e18
Compare
locale/pt-br/texts.po
Outdated
|
||
#: src/screens/NanoContractRegisterQrCodeScreen.js:63 | ||
msgid "Scan the nano contract ID QR code" | ||
msgstr "Leia o QR code Nano Contract ID" |
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.
msgstr "Leia o QR code Nano Contract ID" | |
msgstr "Leia o QR code do Nano Contract ID" |
#: src/screens/NanoContractRegisterQrCodeScreen.js:26 | ||
#: src/screens/RegisterToken.js:27 src/screens/SendScanQRCode.js:87 | ||
msgid "Manual info" | ||
msgstr "Ручной ввод" |
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.
Was this an automatic translation? Maybe remove?
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.
No, this was already there. I believe it was only moved.
Acceptance Criteria
Registering Nano Contract by QR Code reading:
RPReplay_Final1723759500.mov
Closes: #519
Security Checklist