Skip to content

Commit

Permalink
Merge branch 'main' into release-5.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
msadoon committed May 10, 2022
2 parents ffbca78 + f19cb08 commit b7f0fde
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,17 @@ final class RewardPledgeNavigationController: UINavigationController {
super.viewDidLoad()

_ = self.navigationBar
?|> \.barTintColor .~ .ksr_support_100
?|> \.standardAppearance .~ self.navigationBarAppearance
?|> \.scrollEdgeAppearance .~ self.navigationBarAppearance
?|> \.isTranslucent .~ false
?|> \.shadowImage .~ UIImage()
}

private var navigationBarAppearance: UINavigationBarAppearance {
let navBarAppearance = UINavigationBarAppearance()
navBarAppearance.configureWithOpaqueBackground()
navBarAppearance.backgroundColor = .ksr_white

return navBarAppearance
}
}

0 comments on commit b7f0fde

Please sign in to comment.