Skip to content

Fix token security info#1060

Merged
jaymengxy merged 2 commits intodevelopfrom
fix_token_security_info
May 14, 2025
Merged

Fix token security info#1060
jaymengxy merged 2 commits intodevelopfrom
fix_token_security_info

Conversation

@jaymengxy
Copy link
Copy Markdown
Contributor

Related Issue

Closes #1036

Summary of Changes

Need Regression Testing

  • Yes
  • No

Risk Assessment

  • Low
  • Medium
  • High

Additional Notes

Screenshots (if applicable)

@jaymengxy jaymengxy requested a review from a team as a code owner May 14, 2025 07:01
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 14, 2025

PR Summary

Updated token detail presenter to improve security information display and contract address URL handling for both Flow and EVM tokens. Removed conditional hiding of security information for EVM accounts and implemented dynamic URL generation based on token type.

Changes

File Summary
app/src/main/java/com/flowfoundation/wallet/page/token/detail/presenter/TokenDetailPresenter.kt Modified bindVerifiedInfo() to always display security information regardless of account type. Added dynamic URL generation logic that directs to different Flowscan endpoints based on token type (Flow vs EVM).

autogenerated by presubmit.ai

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 Pull request needs attention.

Review Summary

Commits Considered (2)
  • c675712: fix: evm flow token info
  • e6b7287: fix: evm token security info
Files Processed (1)
  • app/src/main/java/com/flowfoundation/wallet/page/token/detail/presenter/TokenDetailPresenter.kt (2 hunks)
Actionable Comments (1)
  • app/src/main/java/com/flowfoundation/wallet/page/token/detail/presenter/TokenDetailPresenter.kt [138-142]

    possible bug: "Handle potential null or empty token identifiers"

Skipped Comments (1)
  • app/src/main/java/com/flowfoundation/wallet/page/token/detail/presenter/TokenDetailPresenter.kt [138-143]

    best practice: "Add URL validation before opening browser"

@jaymengxy jaymengxy merged commit 03f0569 into develop May 14, 2025
3 checks passed
@jaymengxy jaymengxy deleted the fix_token_security_info branch May 14, 2025 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Verifiy token feature remain issues

2 participants