fix tx bubbles
This commit is contained in:
parent
8b465c20f7
commit
41e5626bfa
|
@ -83,8 +83,8 @@ Item {
|
||||||
switch (root.state) {
|
switch (root.state) {
|
||||||
case Constants.pending:
|
case Constants.pending:
|
||||||
case Constants.confirmed:
|
case Constants.confirmed:
|
||||||
case Constants.addressRequested: return isCurrentUser
|
|
||||||
case Constants.transactionRequested:
|
case Constants.transactionRequested:
|
||||||
|
case Constants.addressRequested: return isCurrentUser
|
||||||
case Constants.declined:
|
case Constants.declined:
|
||||||
case Constants.transactionDeclined:
|
case Constants.transactionDeclined:
|
||||||
case Constants.addressReceived: return !isCurrentUser
|
case Constants.addressReceived: return !isCurrentUser
|
||||||
|
@ -190,7 +190,7 @@ Item {
|
||||||
id: buttonsLoader
|
id: buttonsLoader
|
||||||
active: (root.state === Constants.addressRequested && !root.outgoing) ||
|
active: (root.state === Constants.addressRequested && !root.outgoing) ||
|
||||||
(root.state === Constants.addressReceived && root.outgoing) ||
|
(root.state === Constants.addressReceived && root.outgoing) ||
|
||||||
(root.state === Constants.transactionRequested)
|
(root.state === Constants.transactionRequested && !root.outgoing)
|
||||||
sourceComponent: root.outgoing ? signAndSendComponent : acceptTransactionComponent
|
sourceComponent: root.outgoing ? signAndSendComponent : acceptTransactionComponent
|
||||||
anchors.top: bubbleLoader.active ? bubbleLoader.bottom : valueContainer.bottom
|
anchors.top: bubbleLoader.active ? bubbleLoader.bottom : valueContainer.bottom
|
||||||
anchors.topMargin: bubbleLoader.active ? root.innerMargin : 20
|
anchors.topMargin: bubbleLoader.active ? root.innerMargin : 20
|
||||||
|
|
Loading…
Reference in New Issue