fix(DAppSignRequestModal): correct wallet account color
- we are getting a colorId, so convert it Fixes #16094
This commit is contained in:
parent
44b3754fda
commit
d37341caee
|
@ -167,7 +167,7 @@ DappsComboBox {
|
||||||
dappIcon: request.dappIcon
|
dappIcon: request.dappIcon
|
||||||
dappName: request.dappName
|
dappName: request.dappName
|
||||||
|
|
||||||
accountColor: request.account.color
|
accountColor: Utils.getColorForId(request.account.colorId)
|
||||||
accountName: request.account.name
|
accountName: request.account.name
|
||||||
accountAddress: request.account.address
|
accountAddress: request.account.address
|
||||||
accountEmoji: request.account.emoji
|
accountEmoji: request.account.emoji
|
||||||
|
|
|
@ -439,7 +439,7 @@ WalletConnectSDKBase {
|
||||||
dappUrl: request.dappUrl
|
dappUrl: request.dappUrl
|
||||||
dappIcon: request.dappIcon
|
dappIcon: request.dappIcon
|
||||||
|
|
||||||
accountColor: request.account.color
|
accountColor: Utils.getColorForId(request.account.colorId)
|
||||||
accountName: request.account.name
|
accountName: request.account.name
|
||||||
accountAddress: request.account.address
|
accountAddress: request.account.address
|
||||||
accountEmoji: request.account.emoji
|
accountEmoji: request.account.emoji
|
||||||
|
|
Loading…
Reference in New Issue