fix(DAppSignRequestModal): correct wallet account color

- we are getting a colorId, so convert it

Fixes #16094
This commit is contained in:
Lukáš Tinkl 2024-09-06 10:44:08 +02:00 committed by Lukáš Tinkl
parent 44b3754fda
commit d37341caee
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ DappsComboBox {
dappIcon: request.dappIcon
dappName: request.dappName
accountColor: request.account.color
accountColor: Utils.getColorForId(request.account.colorId)
accountName: request.account.name
accountAddress: request.account.address
accountEmoji: request.account.emoji

View File

@ -439,7 +439,7 @@ WalletConnectSDKBase {
dappUrl: request.dappUrl
dappIcon: request.dappIcon
accountColor: request.account.color
accountColor: Utils.getColorForId(request.account.colorId)
accountName: request.account.name
accountAddress: request.account.address
accountEmoji: request.account.emoji