mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
#1098 - Removed vectorHostingController background color.
This commit is contained in:
@@ -41,6 +41,9 @@ class VectorHostingController: UIHostingController<AnyView> {
|
||||
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
|
||||
self.view.backgroundColor = .clear
|
||||
|
||||
self.registerThemeServiceDidChangeThemeNotification()
|
||||
self.update(theme: self.theme)
|
||||
}
|
||||
@@ -63,8 +66,6 @@ class VectorHostingController: UIHostingController<AnyView> {
|
||||
}
|
||||
|
||||
private func update(theme: Theme) {
|
||||
self.view.backgroundColor = theme.headerBackgroundColor
|
||||
|
||||
if let navigationBar = self.navigationController?.navigationBar {
|
||||
theme.applyStyle(onNavigationBar: navigationBar)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user