From 0a3402ff439901703cc2b60854f3f63ee1a8fb5c Mon Sep 17 00:00:00 2001 From: GyDi <segydi@foxmail.com> Date: Wed, 30 Mar 2022 01:29:25 +0800 Subject: [PATCH] fix: icon button title --- src/components/proxy/proxy-global.tsx | 6 +++--- src/components/proxy/proxy-group.tsx | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/components/proxy/proxy-global.tsx b/src/components/proxy/proxy-global.tsx index 9ddb297..b0b1982 100644 --- a/src/components/proxy/proxy-global.tsx +++ b/src/components/proxy/proxy-global.tsx @@ -129,13 +129,13 @@ const ProxyGlobal = (props: Props) => { <MyLocationRounded /> </IconButton> - <IconButton size="small" title="check" onClick={onCheckAll}> + <IconButton size="small" title="delay check" onClick={onCheckAll}> <NetworkCheckRounded /> </IconButton> <IconButton size="small" - title="check" + title="proxy detail" onClick={() => setShowType(!showType)} > {showType ? <VisibilityRounded /> : <VisibilityOffRounded />} @@ -143,7 +143,7 @@ const ProxyGlobal = (props: Props) => { <IconButton size="small" - title="check" + title="filter" onClick={() => setShowFilter(!showFilter)} > {showFilter ? <FilterAltRounded /> : <FilterAltOffRounded />} diff --git a/src/components/proxy/proxy-group.tsx b/src/components/proxy/proxy-group.tsx index 61be923..9077275 100644 --- a/src/components/proxy/proxy-group.tsx +++ b/src/components/proxy/proxy-group.tsx @@ -154,13 +154,13 @@ const ProxyGroup = ({ group }: Props) => { <MyLocationRounded /> </IconButton> - <IconButton size="small" title="check" onClick={onCheckAll}> + <IconButton size="small" title="delay check" onClick={onCheckAll}> <NetworkCheckRounded /> </IconButton> <IconButton size="small" - title="check" + title="proxy detail" onClick={() => setShowType(!showType)} > {showType ? <VisibilityRounded /> : <VisibilityOffRounded />} @@ -168,7 +168,7 @@ const ProxyGroup = ({ group }: Props) => { <IconButton size="small" - title="check" + title="filter" onClick={() => setShowFilter(!showFilter)} > {showFilter ? <FilterAltRounded /> : <FilterAltOffRounded />} @@ -176,7 +176,6 @@ const ProxyGroup = ({ group }: Props) => { {showFilter && ( <TextField - autoFocus hiddenLabel value={filterText} size="small" -- GitLab