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,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)

View File

@ -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))
} // }
} }
] ]