Skip to content

Commit

Permalink
Fixed appearance wrapper.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvorobei committed Oct 6, 2021
1 parent 75c6baa commit e20bbd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public extension UINavigationBar {
return appearance
case .transparentStandardOnly:
let appearance = UINavigationBarAppearance()
appearance.configureWithTransparentBackground()
appearance.configureWithDefaultBackground()
return appearance
case .opaqueAlways:
let appearance = UINavigationBarAppearance()
Expand All @@ -125,7 +125,7 @@ public extension UINavigationBar {
return appearance
case .transparentStandardOnly:
let appearance = UINavigationBarAppearance()
appearance.configureWithDefaultBackground()
appearance.configureWithTransparentBackground()
return appearance
case .opaqueAlways:
let appearance = UINavigationBarAppearance()
Expand Down

0 comments on commit e20bbd8

Please sign in to comment.