-
Notifications
You must be signed in to change notification settings - Fork 5
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
support kyc for each wallet #827
base: development
Are you sure you want to change the base?
Conversation
…ect into development_kyc_wallets
…ect into development_kyc_wallets
…ect into development_kyc_wallets
…ect into development_kyc_wallets
…ect into development_kyc_wallets
…ect into development_kyc_wallets
…ect into development_kyc_wallets
Workflow needs to be fixed. |
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.
} | ||
|
||
Future<void> saveCorrectVerificationStates( |
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 do you remove this method?
wallet!.verificationStatus, | ||
style: wallet.verificationStatus == 'VERIFIED' |
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 make it a chip?
: Theme.of(context).colorScheme.primaryContainer, | ||
), | ||
child: Text( | ||
wallet.verificationStatus != 'VERIFIED' |
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.
please use the VerificationStatus
enum
wallet.verificationStatus != 'VERIFIED' | |
wallet.verificationStatus != VerificationState.VERIFIED.name | |
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.
please apply that everywhere
color: Theme.of(context).colorScheme.onSurface, | ||
), | ||
), | ||
Center( |
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.
please add some spacing after the KYC title
), | ||
const SizedBox(height: 40), | ||
Text( | ||
'KYC Verification', |
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.
'KYC Verification', | |
'KYC', | |
Text( | ||
'KYC Verification', | ||
style: Theme.of(context).textTheme.titleLarge!.copyWith( | ||
color: Theme.of(context).colorScheme.onSurface, | ||
), | ||
), |
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 about adding a chip at the end of the KYC row?
? 'Verify your Identity' | ||
: 'Show Verified Data', |
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.
? 'Verify your Identity' | |
: 'Show Verified Data', | |
? 'Verify' | |
: 'Show Data', | |
backgroundColor: wallet.verificationStatus != 'VERIFIED' | ||
? Theme.of(context).colorScheme.errorContainer | ||
: Theme.of(context).colorScheme.primaryContainer, |
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's not dangerous to do the kyc verification
backgroundColor: wallet.verificationStatus != 'VERIFIED' | |
? Theme.of(context).colorScheme.errorContainer | |
: Theme.of(context).colorScheme.primaryContainer, | |
backgroundColor: Theme.of(context).colorScheme.primaryContainer, | |
color: wallet.verificationStatus != 'VERIFIED' | ||
? Theme.of(context).colorScheme.onErrorContainer | ||
: Theme.of(context) | ||
.colorScheme | ||
.onPrimaryContainer, |
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.
color: wallet.verificationStatus != 'VERIFIED' | |
? Theme.of(context).colorScheme.onErrorContainer | |
: Theme.of(context) | |
.colorScheme | |
.onPrimaryContainer, | |
color: Theme.of(context) | |
.colorScheme | |
.onPrimaryContainer, | |
Text( | ||
'No data available for the provided wallet address.', |
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.
Changes
Related Issues
Tested Scenarios
A list of scenarios tried to match the deliverables