import { TextInput, View, Linking } from "react-native"; import { Text } from "../common/Text"; import { useTranslation } from "react-i18next"; interface Props { value: string; onChangeValue: (value: string) => void; } export const OptimizedServerForm: React.FC = ({ value, onChangeValue, }) => { const handleOpenLink = () => { Linking.openURL("https://github.com/streamyfin/optimized-versions-server"); }; const { t } = useTranslation(); return ( {t("home.settings.downloads.url")} onChangeValue(text)} /> {t("home.settings.downloads.optimized_version_hint")}{" "} {t("home.settings.downloads.read_more_about_optimized_server")} ); };