fix(wallet): Load activity details (#14516)
This commit is contained in:
parent
72a081ceca
commit
afcf84f705
|
@ -49,12 +49,12 @@ QtObject:
|
||||||
notify = activityDetailsChanged
|
notify = activityDetailsChanged
|
||||||
|
|
||||||
proc setActivityEntry*(self: Controller, entry: ActivityEntry) =
|
proc setActivityEntry*(self: Controller, entry: ActivityEntry) =
|
||||||
self.activityEntry = entry
|
|
||||||
self.activityEntryChanged()
|
|
||||||
|
|
||||||
if self.activityDetails != nil:
|
if self.activityDetails != nil:
|
||||||
self.activityDetails = nil
|
self.activityDetails = nil
|
||||||
self.activityDetailsChanged()
|
self.activityDetailsChanged()
|
||||||
|
|
||||||
|
self.activityEntry = entry
|
||||||
|
self.activityEntryChanged()
|
||||||
|
|
||||||
proc resetActivityEntry*(self: Controller) {.slot.} =
|
proc resetActivityEntry*(self: Controller) {.slot.} =
|
||||||
self.setActivityEntry(nil)
|
self.setActivityEntry(nil)
|
||||||
|
|
|
@ -863,14 +863,14 @@ StatusListItem {
|
||||||
width: 17
|
width: 17
|
||||||
height: 17
|
height: 17
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
// PropertyChanges { // TODO uncomment when retry failed tx is implemented
|
||||||
target: d
|
// target: d
|
||||||
titlePixelSize: 17
|
// titlePixelSize: 17
|
||||||
datePixelSize: 13
|
// datePixelSize: 13
|
||||||
subtitlePixelSize: 15
|
// subtitlePixelSize: 15
|
||||||
loadingPixelSize: 14
|
// loadingPixelSize: 14
|
||||||
showRetryButton: (!root.loading && root.transactionStatus === Constants.TransactionStatus.Failed && walletRootStore.isOwnedAccount(modelData.sender))
|
// showRetryButton: (!root.loading && root.transactionStatus === Constants.TransactionStatus.Failed && walletRootStore.isOwnedAccount(modelData.sender))
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue