-
Notifications
You must be signed in to change notification settings - Fork 12
fix: showing chart header title based on token type #3040
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
base: master
Are you sure you want to change the base?
Conversation
ef4f43c to
05de731
Compare
lib/app/features/tokenized_communities/views/pages/tokenized_community_page.dart
Outdated
Show resolved
Hide resolved
05de731 to
27a8def
Compare
53adf81 to
c95c406
Compare
1391ca3 to
c9a357e
Compare
c9a357e to
2806f78
Compare
| final result = tickerLower; | ||
| return result; | ||
| } | ||
| return ''; |
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.
Maybe it's better to use an optional as a return value?
String? _normalizeChartTitle(CommunityToken token)
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 this be theoretically empty at all?
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.
@ice-neoptolemus theoretically not, but programmatically yes ))
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.
@ice-endymion if you mean format as needed and just return null if the nickname is null (which theoretically can't happen), yes, this sounds a better solution, thanks
Description
_normalizeChartTitlelocal function which checks token type and@nickname (ticker name)formattickerpurely as arrived from backendTask ID
ION-4982
Type of Change