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:
Doug
2022-05-27 20:42:44 +01:00
committed by Doug
parent ad4674c0d4
commit 7d29bca319
30 changed files with 195 additions and 51 deletions
@@ -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)
}