feat: Subscription URL TextField use multiline (#761)

*Subscription link that are too long can make reading difficult, so use multiline TextField.
This commit is contained in:
Majokeiko 2023-09-07 16:14:42 +08:00 committed by GitHub
parent c318a5dd79
commit 334c11ccd1

View File

@ -188,7 +188,12 @@ export const ProfileViewer = forwardRef<ProfileViewerRef, Props>(
name="url" name="url"
control={control} control={control}
render={({ field }) => ( render={({ field }) => (
<TextField {...text} {...field} label={t("Subscription URL")} /> <TextField
{...text}
{...field}
multiline
label={t("Subscription URL")}
/>
)} )}
/> />