-
Notifications
You must be signed in to change notification settings - Fork 8
Android: Disable overscroll on empty wallet state #527
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
Conversation
📝 WalkthroughWalkthroughThis change refactors SelectedWalletScreen.kt to introduce a Changes
Estimated Code Review Effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly Related PRs
Suggested Labels
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@greptile-apps review pr |
Greptile OverviewGreptile SummaryThis PR disables the overscroll effect on Android when the wallet has no transactions, improving the UX of the empty wallet state. Key changes:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant SelectedWalletScreen
participant WalletManager
participant CompositionLocalProvider
participant Content
User->>SelectedWalletScreen: View wallet screen
SelectedWalletScreen->>WalletManager: Check loadState
WalletManager-->>SelectedWalletScreen: Return loadState (LOADING/SCANNING/LOADED)
alt hasTransactions = true
SelectedWalletScreen->>Content: Render with default overscroll
Content-->>User: Display transactions with overscroll enabled
else hasTransactions = false
SelectedWalletScreen->>CompositionLocalProvider: Set LocalOverscrollFactory to null
CompositionLocalProvider->>Content: Render with disabled overscroll
Content-->>User: Display empty state without overscroll effect
end
|
aa9824a to
648b194
Compare
|
Automatic reviews are disabled for this repository. |
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.