Merge pull request #3329 from vladyslav-iosdev/#3325

Fix iOS 15 back button, seems they different on screens #3325
pull/3332/head
Hwee-Boon Yar 3 years ago committed by GitHub
commit d103943834
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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