fix: adding a default color to account selector, and changing attribute to result from payload
This commit is contained in:
parent
117f4bb6c8
commit
bf5e988cb9
|
@ -122,7 +122,7 @@ QtObject:
|
||||||
return $ %* {
|
return $ %* {
|
||||||
"type": ResponseTypes.Web3SendAsyncCallback,
|
"type": ResponseTypes.Web3SendAsyncCallback,
|
||||||
"messageId": data.messageId,
|
"messageId": data.messageId,
|
||||||
"payload": {
|
"result": {
|
||||||
"jsonrpc": "2.0",
|
"jsonrpc": "2.0",
|
||||||
"id": data.payload.id,
|
"id": data.payload.id,
|
||||||
"result": if data.payload.rpcMethod == "eth_coinbase": newJString(dappAddress) else: %*[dappAddress]
|
"result": if data.payload.rpcMethod == "eth_coinbase": newJString(dappAddress) else: %*[dappAddress]
|
||||||
|
|
|
@ -447,7 +447,7 @@ Item {
|
||||||
width: 20
|
width: 20
|
||||||
height: width
|
height: width
|
||||||
radius: width / 2
|
radius: width / 2
|
||||||
color: ""
|
color: "#ff0000"
|
||||||
StyledText {
|
StyledText {
|
||||||
id: txtAccountBtn
|
id: txtAccountBtn
|
||||||
text: ""
|
text: ""
|
||||||
|
|
Loading…
Reference in New Issue