mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 08:32:53 +02:00
Fixup missing colours and use resolved colours in UIKit.
Fix the confetti colour when using DesignKit. Pin swift packages. Fix UI tests target.
This commit is contained in:
@@ -127,6 +127,9 @@ class VectorHostingController: UIHostingController<AnyView> {
|
||||
}
|
||||
|
||||
private func update(theme: Theme) {
|
||||
// Ensure dynamic colors are shown correctly when the theme is the opposite appearance to the system.
|
||||
overrideUserInterfaceStyle = theme.userInterfaceStyle
|
||||
|
||||
if let navigationBar = self.navigationController?.navigationBar {
|
||||
theme.applyStyle(onNavigationBar: navigationBar, withModernScrollEdgeAppearance: enableNavigationBarScrollEdgeAppearance)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user