From fb2b108e1d0b576188a6d9fad2dee050075ef22b Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Tue, 27 Aug 2024 13:49:47 -0700 Subject: [PATCH] remove deposit/withdraw transaction types temporarily --- lib/features/transaction/transaction.dart | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/features/transaction/transaction.dart b/lib/features/transaction/transaction.dart index 5bba7c83..cd67f181 100644 --- a/lib/features/transaction/transaction.dart +++ b/lib/features/transaction/transaction.dart @@ -69,11 +69,12 @@ class Transaction { } } - type = (payinCurrency == 'USDC') - ? TransactionType.withdraw - : (payoutCurrency == 'USDC') - ? TransactionType.deposit - : type; + // TODO(ethan-tbd): uncomment once deposit/withdraw is supported + // type = (payinCurrency == 'USDC') + // ? TransactionType.withdraw + // : (payoutCurrency == 'USDC') + // ? TransactionType.deposit + // : type; return Transaction( payinAmount: payinAmount,