|
|
@ -26,7 +26,7 @@ struct TransactionViewModel { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var direction: TransactionDirection { |
|
|
|
var direction: TransactionDirection { |
|
|
|
if currentWallet.address.description == transaction.from { return .outgoing } |
|
|
|
if (currentWallet.address.description == transaction.from || currentWallet.address.description.lowercased() == transaction.from.lowercased()) { return .outgoing } |
|
|
|
return .incoming |
|
|
|
return .incoming |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|