Skip to content

Commit

Permalink
fix(UI): mf-5610 use closed eye icon for hiding token (#11291)
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleBill committed Jan 16, 2024
1 parent 5a84283 commit e27ab86
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
4 changes: 3 additions & 1 deletion packages/icons/general/EyeOff.light.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions packages/icons/icon-generated-as-jsx.js
Expand Up @@ -1788,6 +1788,17 @@ export const EyeOff = /*#__PURE__*/ __createIcon('EyeOff', [
{
c: ['light'],
u: () => new URL('./general/EyeOff.light.svg', import.meta.url).href,
j: () =>
/*#__PURE__*/ _jsx('svg', {
xmlns: 'http://www.w3.org/2000/svg',
fill: 'none',
viewBox: '0 0 18 18',
children: /*#__PURE__*/ _jsx('path', {
fill: 'currentColor',
d: 'm16.393 5.708.015.01-.335.452c-.693.937-1.416 1.723-2.168 2.356l1.501 2.6a1.125 1.125 0 0 1-1.537-.411L13 9.207a7.798 7.798 0 0 1-2.063.982l.426 2.417a1.125 1.125 0 0 1-1.303-.912l-.224-1.27a7.027 7.027 0 0 1-2.201-.06l-.43 2.443-.02-.003a1.125 1.125 0 0 1-.896-1.282l.003-.018.253-1.438a8.129 8.129 0 0 1-1.973-1.053l-.083.147-1.46 2.529-.016-.01c-.52-.311-.7-.98-.405-1.51l.009-.017.894-1.548.173-.307a14.136 14.136 0 0 1-1.842-2.041l-.064-.086-.335-.451a1.14 1.14 0 0 1 1.58.216l.068.087.048.061.044.056.04.05.035.043.023.028.02.025.009.009C5.052 8.35 6.92 9.358 8.925 9.358c1.99 0 3.846-.992 5.578-3.018l.059-.07.018-.022.025-.03.023-.029.03-.038.046-.057.065-.083.059-.075a1.141 1.141 0 0 1 1.55-.239z',
}),
}),
s: true,
},
])
export const Facebook = /*#__PURE__*/ __createIcon('Facebook', [
Expand Down
Expand Up @@ -223,7 +223,7 @@ export const CollectibleDetail = memo(function CollectibleDetail() {
showSnackbar(t.hided_token_successfully())
navigate(-1)
}}>
<Icons.Trash size={24} />
<Icons.EyeOff size={24} />
</Button>,
)
return () => setExtension(undefined)
Expand Down
2 changes: 1 addition & 1 deletion packages/mask/popups/pages/Wallet/TokenDetail/index.tsx
Expand Up @@ -185,7 +185,7 @@ const TokenDetail = memo(function TokenDetail() {
showSnackbar(t.hided_token_successfully())
navigate(-1)
}}>
<Icons.Trash size={24} />
<Icons.EyeOff size={24} />
</Button>,
)
return () => setExtension(undefined)
Expand Down

0 comments on commit e27ab86

Please sign in to comment.