Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class UriService extends IUriService {
}

// If the wallet is just a generic wc:// then it is not installed
Copy link

Copilot AI Jan 27, 2026

Choose a reason for hiding this comment

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

The comment says this only filters out a "generic wc://", but the new condition returns false for any URI that starts with wc:// (including wc://<something>). Update the comment to match the actual behavior (e.g., clarify that any WalletConnect wc:// scheme is treated as not-installed).

Suggested change
// If the wallet is just a generic wc:// then it is not installed
// Treat any WalletConnect wc:// scheme URI as not installed

Copilot uses AI. Check for mistakes.
if (uri.contains('wc://')) {
if (uri.startsWith('wc://')) {
return false;
}
Comment on lines +20 to 22
Copy link

Copilot AI Jan 27, 2026

Choose a reason for hiding this comment

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

This changes installation-detection behavior; please add a unit test covering both cases: wc://... returns false, while custom schemes that merely contain wc:// later in the string (e.g. demowc://) are not incorrectly rejected. This will prevent regressions of issue #329.

Copilot uses AI. Check for mistakes.

Expand Down
Loading