fix: icon button color inherit
This commit is contained in:
parent
9902003da9
commit
6ade0b2b1a
@ -124,18 +124,25 @@ const ProxyGlobal = (props: Props) => {
|
|||||||
<IconButton
|
<IconButton
|
||||||
size="small"
|
size="small"
|
||||||
title="location"
|
title="location"
|
||||||
|
color="inherit"
|
||||||
onClick={() => onLocation(true)}
|
onClick={() => onLocation(true)}
|
||||||
>
|
>
|
||||||
<MyLocationRounded />
|
<MyLocationRounded />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
|
||||||
<IconButton size="small" title="delay check" onClick={onCheckAll}>
|
<IconButton
|
||||||
|
size="small"
|
||||||
|
title="delay check"
|
||||||
|
color="inherit"
|
||||||
|
onClick={onCheckAll}
|
||||||
|
>
|
||||||
<NetworkCheckRounded />
|
<NetworkCheckRounded />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
|
||||||
<IconButton
|
<IconButton
|
||||||
size="small"
|
size="small"
|
||||||
title="proxy detail"
|
title="proxy detail"
|
||||||
|
color="inherit"
|
||||||
onClick={() => setShowType(!showType)}
|
onClick={() => setShowType(!showType)}
|
||||||
>
|
>
|
||||||
{showType ? <VisibilityRounded /> : <VisibilityOffRounded />}
|
{showType ? <VisibilityRounded /> : <VisibilityOffRounded />}
|
||||||
@ -144,6 +151,7 @@ const ProxyGlobal = (props: Props) => {
|
|||||||
<IconButton
|
<IconButton
|
||||||
size="small"
|
size="small"
|
||||||
title="filter"
|
title="filter"
|
||||||
|
color="inherit"
|
||||||
onClick={() => setShowFilter(!showFilter)}
|
onClick={() => setShowFilter(!showFilter)}
|
||||||
>
|
>
|
||||||
{showFilter ? <FilterAltRounded /> : <FilterAltOffRounded />}
|
{showFilter ? <FilterAltRounded /> : <FilterAltOffRounded />}
|
||||||
|
@ -149,18 +149,25 @@ const ProxyGroup = ({ group }: Props) => {
|
|||||||
<IconButton
|
<IconButton
|
||||||
size="small"
|
size="small"
|
||||||
title="location"
|
title="location"
|
||||||
|
color="inherit"
|
||||||
onClick={() => onLocation(true)}
|
onClick={() => onLocation(true)}
|
||||||
>
|
>
|
||||||
<MyLocationRounded />
|
<MyLocationRounded />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
|
||||||
<IconButton size="small" title="delay check" onClick={onCheckAll}>
|
<IconButton
|
||||||
|
size="small"
|
||||||
|
title="delay check"
|
||||||
|
color="inherit"
|
||||||
|
onClick={onCheckAll}
|
||||||
|
>
|
||||||
<NetworkCheckRounded />
|
<NetworkCheckRounded />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
|
||||||
<IconButton
|
<IconButton
|
||||||
size="small"
|
size="small"
|
||||||
title="proxy detail"
|
title="proxy detail"
|
||||||
|
color="inherit"
|
||||||
onClick={() => setShowType(!showType)}
|
onClick={() => setShowType(!showType)}
|
||||||
>
|
>
|
||||||
{showType ? <VisibilityRounded /> : <VisibilityOffRounded />}
|
{showType ? <VisibilityRounded /> : <VisibilityOffRounded />}
|
||||||
@ -169,6 +176,7 @@ const ProxyGroup = ({ group }: Props) => {
|
|||||||
<IconButton
|
<IconButton
|
||||||
size="small"
|
size="small"
|
||||||
title="filter"
|
title="filter"
|
||||||
|
color="inherit"
|
||||||
onClick={() => setShowFilter(!showFilter)}
|
onClick={() => setShowFilter(!showFilter)}
|
||||||
>
|
>
|
||||||
{showFilter ? <FilterAltRounded /> : <FilterAltOffRounded />}
|
{showFilter ? <FilterAltRounded /> : <FilterAltOffRounded />}
|
||||||
|
Loading…
Reference in New Issue
Block a user