diff --git a/packages/app/src/app/settings.tsx b/packages/app/src/app/settings.tsx index d87d402c6..a775dca0a 100644 --- a/packages/app/src/app/settings.tsx +++ b/packages/app/src/app/settings.tsx @@ -13,7 +13,7 @@ import { router, useLocalSearchParams } from "expo-router"; import Constants from "expo-constants"; import { useSafeAreaInsets } from "react-native-safe-area-context"; import { StyleSheet, UnistylesRuntime, useUnistyles } from "react-native-unistyles"; -import { Sun, Moon, Monitor, MoreVertical, Globe } from "lucide-react-native"; +import { Sun, Moon, Monitor, MoreVertical, Globe, Trash2, Pencil, RotateCw } from "lucide-react-native"; import { useAppSettings, type AppSettings } from "@/hooks/use-settings"; import { useDaemonRegistry, type HostProfile } from "@/contexts/daemon-registry-context"; import { useDaemonConnections, type ActiveConnection, type ConnectionStatus } from "@/contexts/daemon-connections-context"; @@ -34,7 +34,7 @@ import { DropdownMenuTrigger, } from "@/components/ui/dropdown-menu"; import { Button } from "@/components/ui/button"; -import { AdaptiveModalSheet } from "@/components/adaptive-modal-sheet"; +import { AdaptiveModalSheet, AdaptiveTextInput } from "@/components/adaptive-modal-sheet"; const delay = (ms: number) => new Promise((resolve) => { @@ -119,7 +119,7 @@ const styles = StyleSheet.create((theme) => ({ hostHeaderRight: { flexDirection: "row", alignItems: "center", - gap: theme.spacing[2], + gap: theme.spacing[1], flexShrink: 0, }, hostLabel: { @@ -142,6 +142,13 @@ const styles = StyleSheet.create((theme) => ({ paddingVertical: 4, borderRadius: theme.borderRadius.full, }, + statusPillMobile: { + alignItems: "center", + justifyContent: "center", + width: 14, + height: 14, + borderRadius: 7, + }, statusDot: { width: 6, height: 6, @@ -163,6 +170,11 @@ const styles = StyleSheet.create((theme) => ({ backgroundColor: theme.colors.surface3, maxWidth: 170, }, + connectionPillMobile: { + flexDirection: "row", + alignItems: "center", + borderRadius: theme.borderRadius.full, + }, connectionText: { fontSize: theme.fontSize.xs, fontWeight: theme.fontWeight.normal, @@ -744,7 +756,7 @@ export default function SettingsScreen() { > Label - ) : null} - {editingDaemon ? ( - - - - ) : null} -