Skip to content

Commit 220fd12

Browse files
committed
Align token transfers icons with runtime icons
1 parent e7d4848 commit 220fd12

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

src/app/components/Tokens/TokenTransferIcon.tsx

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
import { FC } from 'react'
22
import { useTranslation } from 'react-i18next'
33
import { TFunction } from 'i18next'
4-
import StreamIcon from '@mui/icons-material/Stream'
5-
import LocalFireDepartmentIcon from '@mui/icons-material/LocalFireDepartment'
6-
import ApprovalIcon from '@mui/icons-material/Approval'
7-
import { ArrowRight } from 'lucide-react'
8-
import QuestionMarkIcon from '@mui/icons-material/QuestionMark'
4+
import { ArrowRight, Flame, CircleHelp, Stamp } from 'lucide-react'
95
import { MethodIcon } from '../ConsensusTransactionMethod'
6+
import { Stream } from '../CustomIcons/Stream'
107

118
const getTokenTransferLabel = (t: TFunction, name: string | undefined): string => {
129
switch (name) {
@@ -42,13 +39,13 @@ const getTokenTransferIcon = (
4239
case 'Transfer':
4340
return <MethodIcon color="green" icon={<ArrowRight />} {...props} />
4441
case 'Approval':
45-
return <MethodIcon color="green" icon={<ApprovalIcon />} {...props} />
42+
return <MethodIcon color="green" icon={<Stamp />} {...props} />
4643
case 'Minting':
47-
return <MethodIcon color="green" icon={<StreamIcon />} {...props} />
44+
return <MethodIcon color="green" icon={<Stream />} {...props} />
4845
case 'Burning':
49-
return <MethodIcon color="orange" icon={<LocalFireDepartmentIcon />} {...props} />
46+
return <MethodIcon color="orange" icon={<Flame />} {...props} />
5047
default:
51-
return <MethodIcon color="gray" icon={<QuestionMarkIcon />} {...props} />
48+
return <MethodIcon color="gray" icon={<CircleHelp />} {...props} />
5249
}
5350
}
5451

0 commit comments

Comments
 (0)