import React from 'react' import { Server } from 'lucide-react' import { useTranslation } from '../../i18n' import { nativeServerHost } from '../../native/platform' import { TrekShell } from '../../native/trekShell' import Section from './Section' /** Only inside the iOS/Android app: which server it talks to, and the way to another one. */ export default function NativeServerSection(): React.ReactElement | null { const { t } = useTranslation() const host = nativeServerHost() if (!host) return null return (

{t('native.settings.serverHint', { server: host })}

) }