File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import {
1010 AppWindow ,
1111 Clipboard ,
1212 Gamepad2 ,
13+ Info ,
1314 Router ,
1415 Smartphone ,
1516 Tv2 ,
@@ -18,6 +19,7 @@ import AppleLogo from "@/assets/platforms/apple.svg";
1819import LinuxLogo from "@/assets/platforms/linux.svg" ;
1920import WindowsIcon from "@/assets/platforms/windows.svg" ;
2021import { useAppStore , useProfileData } from "@/store/general" ;
22+ import { Tooltip } from "@/components/ui/tooltip" ;
2123import VerificationBanner from '@/pages/setup/VerificationBanner' ;
2224import modDNSLogoDarkTheme from '@/assets/logos/modDNS-dark-theme.svg' ;
2325import modDNSLogoLightTheme from '@/assets/logos/modDNS-light-theme.svg' ;
@@ -184,8 +186,13 @@ export default function Setup({ profiles }: SetupProps): JSX.Element {
184186 aria-label = { interactive ? `Copy ${ label } ` : undefined }
185187 onKeyDown = { interactive ? ( e ) => { if ( e . key === 'Enter' || e . key === ' ' ) { e . preventDefault ( ) ; copyToClipboard ( value as string , label ) ; } } : undefined }
186188 >
187- < span className = "text-sm text-[var(--shadcn-ui-app-muted-foreground)] leading-[25.4px] select-none" >
189+ < span className = "text-sm text-[var(--shadcn-ui-app-muted-foreground)] leading-[25.4px] select-none inline-flex items-center gap-1 " >
188190 { label }
191+ { label === "IPv4" && (
192+ < Tooltip content = "Note: Plain DNS is not supported. Must be used with DoH, DoT, or DoQ URI above." side = "top" align = "start" maxWidthClassName = "max-w-[260px]" >
193+ < Info className = "w-3.5 h-3.5 text-[var(--shadcn-ui-app-muted-foreground)]" />
194+ </ Tooltip >
195+ ) }
189196 </ span >
190197 < div className = "inline-flex items-center justify-end gap-2" >
191198 < span className = "text-sm text-[var(--shadcn-ui-app-foreground)] leading-5 font-mono break-all select-all" >
You can’t perform that action at this time.
0 commit comments