UI: change paste icon, delete default profile name

This commit is contained in:
wonfen 2024-03-09 02:34:33 +08:00
parent f0d88d4e73
commit ab539081fa
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ export const ProfileViewer = forwardRef<ProfileViewerRef, Props>(
const { control, watch, register, ...formIns } = useForm<IProfileItem>({ const { control, watch, register, ...formIns } = useForm<IProfileItem>({
defaultValues: { defaultValues: {
type: "remote", type: "remote",
name: "Remote File", name: "",
desc: "", desc: "",
url: "", url: "",
option: { option: {

View File

@ -19,7 +19,7 @@ import {
import { LoadingButton } from "@mui/lab"; import { LoadingButton } from "@mui/lab";
import { import {
ClearRounded, ClearRounded,
ContentCopyRounded, ContentPasteRounded,
LocalFireDepartmentRounded, LocalFireDepartmentRounded,
RefreshRounded, RefreshRounded,
TextSnippetOutlined, TextSnippetOutlined,
@ -291,7 +291,7 @@ const ProfilePage = () => {
title={t("Paste")} title={t("Paste")}
onClick={onCopyLink} onClick={onCopyLink}
> >
<ContentCopyRounded fontSize="inherit" /> <ContentPasteRounded fontSize="inherit" />
</IconButton> </IconButton>
) : ( ) : (
<IconButton <IconButton