-
Notifications
You must be signed in to change notification settings - Fork 97
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: token details page #1501
base: master
Are you sure you want to change the base?
feat: token details page #1501
Conversation
#1664 |
@@ -0,0 +1,134 @@ | |||
// ignore_for_file: avoid-single-child-column-or-row |
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 is it needed? Can you do it without row?
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.
Changed
const SizedBox(height: 16), | ||
...sortedDates.map((date) { | ||
final transactions = data[date]; | ||
late final IList<TxCommon> sortedTxs; |
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.
This looks error-prone. What if transactions == null? It will never be initialized.
Also, the whole mapping in widget looks too complex, let's extract it to logic layer – no bloc is needed but something lightweight like ChangeNotifier would make sense for preparing the 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.
Updated
mint: Ed25519HDPublicKey.fromBase58(Token.usdc.address), | ||
); | ||
@PostConstruct() | ||
void init() { |
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 just mark call
as @PostConstruct
?
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.
Updated
Solana beta workflow has 1 test failing, version 2.1.8 was just release without changelog currently. https://github.com/anza-xyz/agave/releases |
Changes
Display token details upon click
Related issues
Fixes #1496
Videos
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-07-12.at.17.36.47.mp4
Android_1080x2400_420p.mp4
Checklist