mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Make scrollEdgesAppearance singular to match UIKit
This commit is contained in:
@@ -32,7 +32,7 @@ class VectorHostingController: UIHostingController<AnyView> {
|
||||
|
||||
// MARK: Public
|
||||
|
||||
var enableNavigationBarScrollEdgesAppearance = false
|
||||
var enableNavigationBarScrollEdgeAppearance = false
|
||||
|
||||
init<Content>(rootView: Content) where Content: View {
|
||||
self.theme = ThemeService.shared().theme
|
||||
@@ -93,7 +93,7 @@ class VectorHostingController: UIHostingController<AnyView> {
|
||||
|
||||
private func update(theme: Theme) {
|
||||
if let navigationBar = self.navigationController?.navigationBar {
|
||||
theme.applyStyle(onNavigationBar: navigationBar, withModernScrollEdgesAppearance: enableNavigationBarScrollEdgesAppearance)
|
||||
theme.applyStyle(onNavigationBar: navigationBar, withModernScrollEdgeAppearance: enableNavigationBarScrollEdgeAppearance)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user