import { Server } from 'lucide-react'; import React from 'react'; import { useTranslation } from '../../i18n'; import Section from './Section'; import { useNativeServer } from './useNativeServer'; /** 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, changeServer } = useNativeServer(); if (!host) return null; return (

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

); }