diff --git a/src/components/auth/AccountSwitcher.tsx b/src/components/auth/AccountSwitcher.tsx index afc655d..dced5f8 100644 --- a/src/components/auth/AccountSwitcher.tsx +++ b/src/components/auth/AccountSwitcher.tsx @@ -1,7 +1,7 @@ // NOTE: This file is stable and usually should not be modified. // It is important that all functionality in this file is preserved, and should only be modified if explicitly requested. -import { ChevronDown, LogOut, UserIcon, UserPlus, Wallet } from 'lucide-react'; +import { ChevronDown, LogOut, UserIcon, UserPlus, Wallet, Wifi, X } from 'lucide-react'; import { DropdownMenu, DropdownMenuContent, @@ -11,8 +11,19 @@ import { } from '@/components/ui/dropdown-menu.tsx'; import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar.tsx'; import { WalletModal } from '@/components/WalletModal'; +import { + Drawer, + DrawerClose, + DrawerContent, + DrawerDescription, + DrawerHeader, + DrawerTitle, + DrawerTrigger, +} from '@/components/ui/drawer.tsx'; +import { Button } from '@/components/ui/button'; import { useLoggedInAccounts, type Account } from '@/hooks/useLoggedInAccounts'; import { genUserName } from '@/lib/genUserName'; +import { RelayListManager } from '@/components/RelayListManager'; interface AccountSwitcherProps { onAddAccountClick: () => void; @@ -60,6 +71,39 @@ export function AccountSwitcher({ onAddAccountClick }: AccountSwitcherProps) { ))} + + + e.preventDefault()} + > + + Manage relays + + + + + + + + Relay connections + + + Choose which relays this client reads from and publishes to. + + + + + + Close + + + + + + + +