Conversation
PR SummaryEnabled previously commented-out WalletConnect session cleanup functionality and improved profile fragment stability by adding fragment lifecycle checks and safer activity access. The changes ensure proper session management in WalletConnect and prevent potential crashes in the profile UI. Changes
autogenerated by presubmit.ai |
There was a problem hiding this comment.
🚨 Pull request needs attention.
Review Summary
Commits Considered (1)
- 30eab70: fix: walletconnect clean up session
Files Processed (2)
- app/src/main/java/com/flowfoundation/wallet/manager/walletconnect/WalletConnect.kt (1 hunk)
- app/src/main/java/com/flowfoundation/wallet/page/profile/presenter/ProfileFragmentPresenter.kt (2 hunks)
Actionable Comments (1)
-
app/src/main/java/com/flowfoundation/wallet/page/profile/presenter/ProfileFragmentPresenter.kt [165-167]
possible bug: "Potential null pointer exception when accessing activity"
Skipped Comments (1)
-
app/src/main/java/com/flowfoundation/wallet/manager/walletconnect/WalletConnect.kt [116-117]
enhancement: "Consider making delay duration configurable"
zhouxl
approved these changes
May 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issue
Closes #1102 #1054 #1092
Summary of Changes
Need Regression Testing
Risk Assessment
Additional Notes
Screenshots (if applicable)