Add a Compound hook. (#3979)

* Rename AppHooksProtocol.configure() to .setUp().

* Add a CompoundHook.
This commit is contained in:
Doug
2025-04-04 17:46:31 +01:00
committed by GitHub
parent 8448e79c19
commit 586a62fef6
5 changed files with 32 additions and 4 deletions

View File

@@ -61,7 +61,10 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
init(appDelegate: AppDelegate) {
let appHooks = AppHooks()
appHooks.configure()
appHooks.setUp()
// Override colours before we start building any UI components.
appHooks.compoundHook.override(colors: Color.compound, uiColors: UIColor.compound)
windowManager = WindowManager(appDelegate: appDelegate)
let networkMonitor = NetworkMonitor()