Skip to content

Commit

Permalink
Disable NFT on Wallet module and swap filter on Transactions module
Browse files Browse the repository at this point in the history
  • Loading branch information
ealymbaev committed Aug 3, 2023
1 parent bb1f173 commit 50c01a3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class EvmTransactionsAdapter: BaseEvmAdapter {
case .all: ()
case .incoming: type = .incoming
case .outgoing: type = .outgoing
case .swap: type = .swap
// case .swap: type = .swap
case .approve: type = .approve
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class TronTransactionsAdapter: BaseTronAdapter {
case .all: ()
case .incoming: type = .incoming
case .outgoing: type = .outgoing
case .swap: type = .swap
// case .swap: type = .swap
case .approve: type = .approve
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
enum TransactionTypeFilter: String, CaseIterable {
case all, incoming, outgoing, swap, approve
// case all, incoming, outgoing, swap, approve
case all, incoming, outgoing, approve
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class WalletViewController: ThemeViewController {
navigationItem.leftBarButtonItem = UIBarButtonItem(image: UIImage(named: "switch_wallet_24"), style: .plain, target: self, action: #selector(onTapSwitchWallet))
navigationItem.leftBarButtonItem?.tintColor = .themeJacob

navigationItem.rightBarButtonItem = UIBarButtonItem(image: UIImage(named: "nft_24"), style: .plain, target: self, action: #selector(onTapNft))
// navigationItem.rightBarButtonItem = UIBarButtonItem(image: UIImage(named: "nft_24"), style: .plain, target: self, action: #selector(onTapNft))

refreshControl.tintColor = .themeLeah
refreshControl.alpha = 0.6
Expand Down

0 comments on commit 50c01a3

Please sign in to comment.