fix(wallet): Load activity details (#14516)

This commit is contained in:
Cuteivist 2024-04-25 12:01:26 +02:00 committed by GitHub
parent 72a081ceca
commit afcf84f705
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 12 deletions

View File

@ -49,13 +49,13 @@ QtObject:
notify = activityDetailsChanged
proc setActivityEntry*(self: Controller, entry: ActivityEntry) =
self.activityEntry = entry
self.activityEntryChanged()
if self.activityDetails != nil:
self.activityDetails = nil
self.activityDetailsChanged()
self.activityEntry = entry
self.activityEntryChanged()
proc resetActivityEntry*(self: Controller) {.slot.} =
self.setActivityEntry(nil)

View File

@ -863,14 +863,14 @@ StatusListItem {
width: 17
height: 17
}
PropertyChanges {
target: d
titlePixelSize: 17
datePixelSize: 13
subtitlePixelSize: 15
loadingPixelSize: 14
showRetryButton: (!root.loading && root.transactionStatus === Constants.TransactionStatus.Failed && walletRootStore.isOwnedAccount(modelData.sender))
}
// PropertyChanges { // TODO uncomment when retry failed tx is implemented
// target: d
// titlePixelSize: 17
// datePixelSize: 13
// subtitlePixelSize: 15
// loadingPixelSize: 14
// showRetryButton: (!root.loading && root.transactionStatus === Constants.TransactionStatus.Failed && walletRootStore.isOwnedAccount(modelData.sender))
// }
}
]