Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Address PR comments; unneeded imports & opaque tab bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHeaps committed Oct 20, 2023
1 parent c30e143 commit 492443c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Sources/BraveWallet/Crypto/CryptoTabsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
import Foundation
import UIKit
import SwiftUI
import BraveCore
import PanModal
import BraveUI
import Strings

Expand Down Expand Up @@ -147,6 +145,13 @@ struct CryptoTabsView<DismissContent: ToolbarContent>: 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: {
Expand Down

0 comments on commit 492443c

Please sign in to comment.