MCPcopy
hub / github.com/Dimillian/CodexMonitor / useAppBootstrap

Function useAppBootstrap

src/features/app/bootstrap/useAppBootstrap.ts:8–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import { useLiquidGlassEffect } from "@app/hooks/useLiquidGlassEffect";
7
8export function useAppBootstrap() {
9 const appSettingsState = useAppSettingsController();
10 useCodeCssVars(appSettingsState.appSettings);
11
12 const dictationState = useDictationController(appSettingsState.appSettings);
13 const debugState = useDebugLog();
14
15 const shouldReduceTransparency =
16 appSettingsState.reduceTransparency || isMobilePlatform();
17
18 useLiquidGlassEffect({
19 reduceTransparency: shouldReduceTransparency,
20 onDebug: debugState.addDebugEntry,
21 });
22
23 return {
24 ...appSettingsState,
25 ...dictationState,
26 ...debugState,
27 shouldReduceTransparency,
28 };
29}

Callers

nothing calls this directly

Calls 6

useAppSettingsControllerFunction · 0.90
useCodeCssVarsFunction · 0.90
useDictationControllerFunction · 0.90
useDebugLogFunction · 0.90
isMobilePlatformFunction · 0.90
useLiquidGlassEffectFunction · 0.90

Tested by

no test coverage detected