-
Notifications
You must be signed in to change notification settings - Fork 111
Update create wallet logic #6069
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
c2507d2 to
e06087d
Compare
e06087d to
4b357e2
Compare
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.
Pull request overview
This pull request refactors the wallet creation logic from a dialog-based approach to an embedded approach during TIP (Trusted Identity Protocol) setup and login verification. The changes remove the standalone WalletUnlockBottomSheetDialogFragment and integrate wallet creation directly into the TIP registration and login flows.
Changes:
- Removed the standalone wallet unlock dialog UI and its associated ViewModel
- Integrated wallet creation logic into TIP registration flow (TipFragment) and login verification (LoginVerifyBottomSheetDialogFragment via BottomSheetViewModel)
- Updated WalletConnect handling to remove wallet unlock dialog checks and simplified to use centralized wallet creation
- Refactored job classes to remove automatic wallet creation from background sync jobs
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| fragment_wallet_unlock_bottom_sheet.xml | Removed the standalone wallet unlock dialog layout |
| WalletUnlockViewModel.kt | Removed the ViewModel for the wallet unlock dialog |
| WalletUnlockBottomSheetDialogFragment.kt | Removed the dialog fragment for wallet unlocking |
| TipFragment.kt | Added wallet creation logic during TIP registration with address signing |
| BottomSheetViewModel.kt | Added ensureClassicWallet method to create wallet during login verification |
| MainActivity.kt | Updated to check for classic wallet instead of individual addresses |
| WebFragment.kt | Removed wallet unlock dialog invocation (returns early instead) |
| LinkBottomSheetDialogFragment.kt | Removed wallet unlock dialog invocation |
| LoginVerifyBottomSheetDialogFragment.kt | Added call to ensureClassicWallet during login verification |
| WalletConnectV2.kt | Replaced external constants with local constants for chain types |
| RefreshWeb3Job.kt | Removed automatic wallet creation logic from background sync |
| Various job files | Import reordering (formatting changes only) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.