mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Use opaque background for UINavigationController appearance extension
This commit is contained in:
parent
0a68aad66b
commit
0ce31b0b60
@ -7,12 +7,12 @@
|
||||
<key>WriteFreely-MultiPlatform (iOS).xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>0</integer>
|
||||
<integer>1</integer>
|
||||
</dict>
|
||||
<key>WriteFreely-MultiPlatform (macOS).xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>1</integer>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
|
@ -5,8 +5,7 @@ extension UINavigationController {
|
||||
super.viewDidLoad()
|
||||
|
||||
let standardAppearance = UINavigationBarAppearance()
|
||||
standardAppearance.configureWithTransparentBackground()
|
||||
|
||||
standardAppearance.configureWithOpaqueBackground()
|
||||
navigationBar.standardAppearance = standardAppearance
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user