From 492443cb1188d1df264df6c30ac6d7d220bfe4f1 Mon Sep 17 00:00:00 2001 From: Stephen Heaps Date: Fri, 20 Oct 2023 11:58:29 -0400 Subject: [PATCH] Address PR comments; unneeded imports & opaque tab bar. --- Sources/BraveWallet/Crypto/CryptoTabsView.swift | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Sources/BraveWallet/Crypto/CryptoTabsView.swift b/Sources/BraveWallet/Crypto/CryptoTabsView.swift index 6da78aaf0ef..f0f5b3f643c 100644 --- a/Sources/BraveWallet/Crypto/CryptoTabsView.swift +++ b/Sources/BraveWallet/Crypto/CryptoTabsView.swift @@ -6,8 +6,6 @@ import Foundation import UIKit import SwiftUI -import BraveCore -import PanModal import BraveUI import Strings @@ -147,6 +145,13 @@ struct CryptoTabsView: View { } .tag(Tab.market) } + .introspectTabBarController(customize: { tabBarController in + let appearance = UITabBarAppearance() + appearance.configureWithOpaqueBackground() + appearance.backgroundColor = UIColor(braveSystemName: .containerBackground) + tabBarController.tabBar.standardAppearance = appearance + tabBarController.tabBar.scrollEdgeAppearance = appearance + }) .overlay(alignment: .bottomTrailing, content: { if isConfirmationButtonVisible { Button(action: {