Explorar el Código

UI: change paste icon, delete default profile name

wonfen hace 1 año
padre
commit
f335941b62
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 1 1
      src/components/profile/profile-viewer.tsx
  2. 2 2
      src/pages/profiles.tsx

+ 1 - 1
src/components/profile/profile-viewer.tsx

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

+ 2 - 2
src/pages/profiles.tsx

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