Fix Scam tokens handling and make it persistent (#2138)

* Fix Scam tokens handling and make it persistent

* Add potential scam text next to scam tokens

* change UI of potential scam text
This commit is contained in:
Omar Hatem 2025-04-03 03:32:00 +02:00 committed by GitHub
parent cbca4c9c77
commit 23a47ed561
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 121 additions and 45 deletions

View file

@ -99,6 +99,7 @@ class CWSolana extends Solana {
mint: token.name.toUpperCase(),
enabled: token.enabled,
iconPath: token.iconPath,
isPotentialScam: token.isPotentialScam,
);
await (wallet as SolanaWallet).addSPLToken(splToken);