mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-21 00:40:09 +00:00
fix: add icon from status instead of image
This commit is contained in:
parent
90e539b4d7
commit
5480990e7a
@ -1,4 +1,4 @@
|
|||||||
import { NodeIcon, CompleteIdIcon } from '@status-im/icons'
|
import { NodeIcon, CompleteIdIcon, ConnectionIcon } from '@status-im/icons'
|
||||||
import { Separator, XStack, YStack } from 'tamagui'
|
import { Separator, XStack, YStack } from 'tamagui'
|
||||||
import { useState } from 'react'
|
import { useState } from 'react'
|
||||||
import { Button, Text } from '@status-im/components'
|
import { Button, Text } from '@status-im/components'
|
||||||
@ -10,7 +10,6 @@ import PairedSuccessfully from './PairedSuccessfully'
|
|||||||
import CreateAvatar from '../../components/General/CreateAvatar/CreateAvatar'
|
import CreateAvatar from '../../components/General/CreateAvatar/CreateAvatar'
|
||||||
import GenerateId from './GenerateId'
|
import GenerateId from './GenerateId'
|
||||||
import Header from '../../components/General/Header'
|
import Header from '../../components/General/Header'
|
||||||
import Icon from '../../components/General/Icon'
|
|
||||||
|
|
||||||
const PairDevice = () => {
|
const PairDevice = () => {
|
||||||
const [isAwaitingPairing, setIsAwaitingPairing] = useState(false)
|
const [isAwaitingPairing, setIsAwaitingPairing] = useState(false)
|
||||||
@ -52,7 +51,7 @@ const PairDevice = () => {
|
|||||||
<XStack>
|
<XStack>
|
||||||
{isConnectingViaIp ? (
|
{isConnectingViaIp ? (
|
||||||
<Button
|
<Button
|
||||||
icon={<CompleteIdIcon size={20} color="#2A4AF5" />}
|
icon={<CompleteIdIcon size={20} />}
|
||||||
variant="outline"
|
variant="outline"
|
||||||
onPress={connectAndPairHandler}
|
onPress={connectAndPairHandler}
|
||||||
>
|
>
|
||||||
@ -60,7 +59,7 @@ const PairDevice = () => {
|
|||||||
</Button>
|
</Button>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
icon={<Icon src="/icons/connection-blue.svg" width={20} />}
|
icon={<ConnectionIcon size={20} />}
|
||||||
variant="outline"
|
variant="outline"
|
||||||
onPress={connectAndPairHandler}
|
onPress={connectAndPairHandler}
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user