Fix iOS 15 back button, seems they different on screens #3325

pull/3329/head
Vladyslav Shepitko 3 years ago
parent 30f8ea3e79
commit 5cd35027ad
  1. 9
      AlphaWallet/Style/AppStyle.swift

@ -24,6 +24,15 @@ func applyStyle() {
let appearance = UINavigationBarAppearance()
appearance.configureWithOpaqueBackground()
appearance.backgroundColor = Colors.appBackground
appearance.setBackIndicatorImage(R.image.backWhite(), transitionMaskImage: R.image.backWhite())
appearance.titleTextAttributes = [
.foregroundColor: Colors.navigationTitleColor,
.font: Fonts.semibold(size: 17) as Any
]
appearance.largeTitleTextAttributes = [
.foregroundColor: Colors.navigationTitleColor,
.font: Fonts.bold(size: 36) as Any,
]
UINavigationBar.appearance().standardAppearance = appearance
UINavigationBar.appearance().scrollEdgeAppearance = appearance
} else {

Loading…
Cancel
Save