Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
xishang0128 committed Aug 6, 2024
1 parent 18ef4a9 commit d9228f7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
8 changes: 6 additions & 2 deletions src/renderer/src/components/connections/connection-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@ const ConnectionItem: React.FC<Props> = (props) => {
<div className="select-none h-[32px] leading-[32px]">
{metadata.type}({metadata.network})
</div>
<div className="select-none h-[32px] leading-[32px]">{metadata.inboundIP}</div>
<div className="select-none h-[32px] leading-[32px]">
{metadata.process||metadata.inboundIP}
</div>
<div className="select-none h-[32px] leading-[32px]">{'-->'}</div>
<div className="select-none h-[32px] leading-[32px]">{metadata.remoteDestination}</div>
<div className="select-none h-[32px] leading-[32px]">
{metadata.host||metadata.remoteDestination}
</div>
<Button
isIconOnly
size="sm"
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/src/components/sider/proxy-card.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Button, Card, CardBody, CardFooter, Chip } from '@nextui-org/react'
import { mihomoProxies } from '@renderer/utils/ipc'
import { useMemo } from 'react'
import { MdTableChart } from 'react-icons/md'
import { LuGroup } from 'react-icons/lu'
import { useLocation, useNavigate } from 'react-router-dom'
import useSWR from 'swr'

Expand Down Expand Up @@ -30,7 +30,7 @@ const ProxyCard: React.FC = () => {
variant="flat"
color="default"
>
<MdTableChart
<LuGroup
className={`${match ? 'text-white' : 'text-foreground'} text-[24px] font-bold`}
/>
</Button>
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/src/components/sider/rule-card.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Button, Card, CardBody, CardFooter, Chip } from '@nextui-org/react'
import { mihomoRules } from '@renderer/utils/ipc'
import { IoGitNetwork } from 'react-icons/io5'
import { MdOutlineAltRoute } from 'react-icons/md'
import { useLocation, useNavigate } from 'react-router-dom'
import useSWR from 'swr'

Expand All @@ -26,7 +26,7 @@ const RuleCard: React.FC = () => {
variant="flat"
color="default"
>
<IoGitNetwork
<MdOutlineAltRoute
color="default"
className={`${match ? 'text-white' : 'text-foreground'} text-[20px]`}
/>
Expand Down

0 comments on commit d9228f7

Please sign in to comment.