diff --git a/Trust/Transactions/ViewModels/TransactionViewModel.swift b/Trust/Transactions/ViewModels/TransactionViewModel.swift index 1d41f946f..65a852b1d 100644 --- a/Trust/Transactions/ViewModels/TransactionViewModel.swift +++ b/Trust/Transactions/ViewModels/TransactionViewModel.swift @@ -26,7 +26,7 @@ struct TransactionViewModel { } 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 }