替换 Timestamp 页面图标为 lucide-react 的 Clock 图标
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
import { type ComponentType, lazy } from 'react';
|
import { type ComponentType, lazy } from 'react';
|
||||||
import type { SvgIconProps } from '@mui/material/SvgIcon';
|
import type { SvgIconProps } from '@mui/material/SvgIcon';
|
||||||
import type { PageType } from '@/types/storage';
|
import type { PageType } from '@/types/storage';
|
||||||
import AccessTimeIcon from '@mui/icons-material/AccessTime';
|
import { Clock } from 'lucide-react';
|
||||||
import StorageIcon from '@mui/icons-material/Storage';
|
import StorageIcon from '@mui/icons-material/Storage';
|
||||||
import QrCodeIcon from '@mui/icons-material/QrCode';
|
import QrCodeIcon from '@mui/icons-material/QrCode';
|
||||||
import DescriptionIcon from '@mui/icons-material/Description';
|
import DescriptionIcon from '@mui/icons-material/Description';
|
||||||
@@ -71,7 +71,7 @@ export const FEATURES: FeatureConfig[] = [
|
|||||||
labelKey: 'features:timestamp.title',
|
labelKey: 'features:timestamp.title',
|
||||||
descriptionKey: 'features:timestamp.description',
|
descriptionKey: 'features:timestamp.description',
|
||||||
themeColorKey: 'primary',
|
themeColorKey: 'primary',
|
||||||
icon: AccessTimeIcon,
|
icon: Clock,
|
||||||
defaultVisible: true,
|
defaultVisible: true,
|
||||||
components: {
|
components: {
|
||||||
popup: TimestampPage,
|
popup: TimestampPage,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { Box, Container, MenuItem, Select, Stack, TextField } from '@mui/material';
|
import { Box, Container, MenuItem, Select, Stack, TextField } from '@mui/material';
|
||||||
import AccessTimeIcon from '@mui/icons-material/AccessTime';
|
import { Clock } from 'lucide-react';
|
||||||
import Button from '@/components/Button';
|
import Button from '@/components/Button';
|
||||||
import PageHeader from '@/components/PageHeader';
|
import PageHeader from '@/components/PageHeader';
|
||||||
import SwitchButtonGroup from '@/components/SwitchButtonGroup';
|
import SwitchButtonGroup from '@/components/SwitchButtonGroup';
|
||||||
@@ -34,7 +34,7 @@ export default function Index() {
|
|||||||
<PageHeader
|
<PageHeader
|
||||||
title={t('timestamp:pageTitle')}
|
title={t('timestamp:pageTitle')}
|
||||||
subtitle={t('timestamp:pageSubtitle')}
|
subtitle={t('timestamp:pageSubtitle')}
|
||||||
icon={<AccessTimeIcon />}
|
icon={<Clock />}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{/* 参考信息:分栏上方全宽单行参考条 */}
|
{/* 参考信息:分栏上方全宽单行参考条 */}
|
||||||
|
|||||||
Reference in New Issue
Block a user