import {TouchableOpacity, View} from "react-native" import {Text} from "@/components/ignite" import GlassView from "@/components/ui/GlassView" type Props = { label: string subtitle?: string onPress: () => void /** Ignore taps while a previous command is still in flight. */ disabled?: boolean } /** * Settings action that is not RouteButton. RouteButton's chevron chrome inside * GlassView often looks tappable in the Super Mode overlay but never fires; * wrap GlassView in TouchableOpacity so the press belongs to the action. */ export function SettingsCommandButton({label, subtitle, onPress, disabled = false}: Props) { return ( {subtitle ? : null} ) }