feat: replace reveal icon

This commit is contained in:
RadoslavDimchev 2023-08-21 12:43:19 +03:00
parent 7c86d7a412
commit 2f5086002a
2 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 557 B

View File

@ -1,7 +1,7 @@
import { XStack, YStack } from 'tamagui'
import { Button, Text } from '@status-im/components'
import Icon from './Icon'
import Title from './Title'
import { RevealIcon } from '@status-im/icons'
type TitlesProps = {
title: string
@ -15,7 +15,7 @@ const Titles = ({ title, subtitle, isAdvancedSettings }: TitlesProps) => {
<XStack style={{ justifyContent: 'space-between', alignItems: 'center' }}>
<Title color={'#09101C'}>{title}</Title>
{isAdvancedSettings && (
<Button size={32} variant="outline" icon={<Icon src={'/icons/reveal.png'} />}>
<Button size={32} variant="outline" icon={<RevealIcon size={20} />}>
Advanced Settings
</Button>
)}