Merge pull request #6366 from BlueWallet/pending

FIX: Unconfirmed txs would always show "a few seconds ago" on watchOS
This commit is contained in:
GLaDOS 2024-04-04 08:45:02 +00:00 committed by GitHub
commit bd0d84fdf9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,7 +31,11 @@ class TransactionTableRow: NSObject {
var time: String = "" {
willSet {
transactionTimeLabel.setText(newValue)
if type == "pendingConfirmation" {
transactionTimeLabel.setText("Pending...")
} else {
transactionTimeLabel.setText(newValue)
}
}
}