Skip to content

Commit

Permalink
Remove toolbar appearance change
Browse files Browse the repository at this point in the history
  • Loading branch information
tonisevener committed Nov 14, 2024
1 parent b87de4e commit d714967
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ public struct WMFYearInReviewView: View {

public init(viewModel: WMFYearInReviewViewModel) {
self.viewModel = viewModel
let toolbarAppearance = UIToolbarAppearance()
toolbarAppearance.configureWithOpaqueBackground()
toolbarAppearance.backgroundColor = theme.midBackground
toolbarAppearance.shadowColor = .clear

UIToolbar.appearance().standardAppearance = toolbarAppearance
UIToolbar.appearance().compactAppearance = toolbarAppearance

}

let configuration = WMFSmallButton.Configuration(style: .quiet, trailingIcon: nil)
Expand Down Expand Up @@ -88,7 +80,6 @@ public struct WMFYearInReviewView: View {
// Logs slide impressions and next taps
viewModel.logYearInReviewSlideDidAppear()
}
.toolbarColorScheme(theme.preferredColorScheme)
.toolbar {
if !viewModel.isFirstSlide {
ToolbarItem(placement: .bottomBar) {
Expand Down

0 comments on commit d714967

Please sign in to comment.