fix: adding a default color to account selector, and changing attribute to result from payload

This commit is contained in:
Richard Ramos 2020-10-02 15:03:34 -04:00 committed by Iuri Matias
parent 117f4bb6c8
commit bf5e988cb9
2 changed files with 2 additions and 2 deletions

View File

@ -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]

View File

@ -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: ""