Add 'apps/mobile/' from commit '5fa30f365f21531094cd4d2045042bb4f1370ac3'

git-subtree-dir: apps/mobile
git-subtree-mainline: 86f8987dff
git-subtree-split: 5fa30f365f
This commit is contained in:
2026-08-16 21:42:59 -04:00
222 changed files with 23436 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import { useSafeAreaInsets } from "react-native-safe-area-context";
import { spacing } from "@/constants/theme";
/** Matches `TopChrome` row height. */
export const TOP_CHROME_ROW_HEIGHT = 40;
/** Bottom inset below the chrome row (`TopChromeBar` `paddingBottom`). */
export const TOP_CHROME_PADDING_BOTTOM = spacing.xs;
/** Total height of the blurred status-bar chrome (safe area + content row). */
export function useTopChromeHeight(): number {
const { top } = useSafeAreaInsets();
return top + TOP_CHROME_ROW_HEIGHT + TOP_CHROME_PADDING_BOTTOM;
}