import { Button, Host, HStack, Spacer, Text } from '@expo/ui/swift-ui'; import { accessibilityLabel, buttonStyle, font, foregroundStyle, frame, glassEffect, layoutPriority, lineLimit, monospacedDigit, padding, tint, truncationMode, } from '@expo/ui/swift-ui/modifiers'; import { StyleSheet, View } from 'react-native'; import { useSafeAreaInsets } from 'react-native-safe-area-context'; import { IOS } from './theme'; import type { StatusLineProps } from './types'; // The system bottom toolbar look: one glass capsule above the home indicator. export function StatusLine({ scheme, position, language, timing, onPosition, bottomInset, }: StatusLineProps) { const palette = IOS[scheme]; const safe = useSafeAreaInsets(); const caption = [font({ size: 12 }), foregroundStyle(palette.secondaryLabel)]; return (