Skip to content

Commit

Permalink
fix approval sheet not using verifiedData incoming from walletconnect (
Browse files Browse the repository at this point in the history
  • Loading branch information
walmat authored Oct 3, 2024
1 parent d8fa354 commit c63f8ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/WalletConnectApprovalSheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export default function WalletConnectApprovalSheet() {
url: verifiedData?.origin || dappUrl,
});

const isScam = metadata?.status === DAppStatus.Scam;
const isScam = metadata?.status === DAppStatus.Scam || verifiedData?.isScam;

// we can only safely mark a dapp as verified if the source is the browser
const isVerified = metadata?.status === DAppStatus.Verified && source === 'browser';
Expand Down

0 comments on commit c63f8ed

Please sign in to comment.