-
Notifications
You must be signed in to change notification settings - Fork 86
Appkit fix web wallet #141
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
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 PR addresses fixes for the web wallet functionality in AppKit by disabling the disconnect operation in the modal view model, updating URL routing in the wallet detail view model for better browser handling, and refining the wallet opening logic in the session account presenter.
- Disable disconnect code in Web3ModalViewModel
- Add new browser navigation logic in WalletDetailViewModel with proper URL format handling
- Refactor openWallet method in SessionAccountPresenter to accept parameters for request ID and session topic
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| Sources/ReownAppKit/Sheets/Web3ModalViewModel.swift | Comment out disconnect task code |
| Sources/ReownAppKit/Screens/ConnectWallet/WalletDetail/WalletDetailViewModel.swift | Implement formatted URL navigation for browser usage with fallback for mobile |
| Example/DApp/Modules/Sign/SessionAccount/SessionAccountPresenter.swift | Update wallet opening logic, introducing parameters for requestId and session topic |
Comments suppressed due to low confidence (1)
Example/DApp/Modules/Sign/SessionAccount/SessionAccountPresenter.swift:112
- The parameter name 'requstId' appears to be a typo; please correct it to 'requestId' for clarity and consistency.
private func openWallet(requstId: RPCID, topic: String) {
|



Description
Resolves # (issue)
How Has This Been Tested?
Due Dilligence