From ec53608a7092dc63fcb6e6b43bec7c5d970feea8 Mon Sep 17 00:00:00 2001 From: wonfen Date: Mon, 10 Aug 2026 12:30:17 +0800 Subject: [PATCH] sytle: change filter icon --- src/components/proxy/proxy-group-tools.tsx | 8 ++++---- src/components/proxy/proxy-head.tsx | 10 +++------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/components/proxy/proxy-group-tools.tsx b/src/components/proxy/proxy-group-tools.tsx index b3bdc5e59..3f10ecb42 100644 --- a/src/components/proxy/proxy-group-tools.tsx +++ b/src/components/proxy/proxy-group-tools.tsx @@ -1,8 +1,8 @@ import AccessTimeRounded from '@mui/icons-material/AccessTimeRounded' -import FilterAltOffRounded from '@mui/icons-material/FilterAltOffRounded' -import FilterAltRounded from '@mui/icons-material/FilterAltRounded' import MyLocationRounded from '@mui/icons-material/MyLocationRounded' import NetworkCheckRounded from '@mui/icons-material/NetworkCheckRounded' +import SearchOffRounded from '@mui/icons-material/SearchOffRounded' +import SearchRounded from '@mui/icons-material/SearchRounded' import SortByAlphaRounded from '@mui/icons-material/SortByAlphaRounded' import SortRounded from '@mui/icons-material/SortRounded' import VisibilityOffRounded from '@mui/icons-material/VisibilityOffRounded' @@ -251,9 +251,9 @@ export const ProxyGroupTools = memo(function ProxyGroupTools(props: Props) { }} > {textState === 'filter' ? ( - + ) : ( - + )} diff --git a/src/components/proxy/proxy-head.tsx b/src/components/proxy/proxy-head.tsx index d1f91697d..63e0fe5c9 100644 --- a/src/components/proxy/proxy-head.tsx +++ b/src/components/proxy/proxy-head.tsx @@ -2,8 +2,8 @@ import { AccessTimeRounded, MyLocationRounded, NetworkCheckRounded, - FilterAltRounded, - FilterAltOffRounded, + SearchOffRounded, + SearchRounded, VisibilityRounded, VisibilityOffRounded, WifiTetheringRounded, @@ -156,11 +156,7 @@ export const ProxyHead = ({ onHeadState({ textState: textState === 'filter' ? null : 'filter' }) } > - {textState === 'filter' ? ( - - ) : ( - - )} + {textState === 'filter' ? : } {textState === 'filter' && (