From dba9a7e936708e69e3bf10d6cd1ecd2bdc65ff23 Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Wed, 16 Aug 2023 13:26:57 +0300 Subject: [PATCH] Style --- public/icons/connection.svg | 8 ++++++++ src/pages/PairDevice/SyncStatus.tsx | 26 +++++++++++++------------- 2 files changed, 21 insertions(+), 13 deletions(-) create mode 100644 public/icons/connection.svg diff --git a/public/icons/connection.svg b/public/icons/connection.svg new file mode 100644 index 00000000..e7fb7284 --- /dev/null +++ b/public/icons/connection.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/pages/PairDevice/SyncStatus.tsx b/src/pages/PairDevice/SyncStatus.tsx index f78821d8..a528102b 100644 --- a/src/pages/PairDevice/SyncStatus.tsx +++ b/src/pages/PairDevice/SyncStatus.tsx @@ -1,9 +1,10 @@ -import { XStack, YStack } from 'tamagui' -import { InformationBox, Text } from '@status-im/components' +import { Stack, XStack, YStack } from 'tamagui' +import { Button, InformationBox, Text } from '@status-im/components' import Icon from '../../components/General/Icon' import RefreshBlackIcon from '/icons/refresh-black.svg' import RefreshIcon from '/icons/refresh.svg' import BlockIcon from '/icons/block.svg' +import ConnectionIcon from '/icons/connection.svg' type SyncStatusProps = { isPairing: boolean timer: string @@ -11,8 +12,8 @@ type SyncStatusProps = { } const SyncStatus = ({ isPairing, timer, isAwaitingPairing }: SyncStatusProps) => { return ( - - + + Device Sync Status @@ -28,15 +29,9 @@ const SyncStatus = ({ isPairing, timer, isAwaitingPairing }: SyncStatusProps) => {isPairing ? ( - isAwaitingPairing ? ( - - Awaiting Pairing{' '} - - ) : ( - - Awaiting pairing connection... - - ) + + Awaiting pairing connection... + ) : ( No pairing input provided. @@ -49,6 +44,11 @@ const SyncStatus = ({ isPairing, timer, isAwaitingPairing }: SyncStatusProps) => icon={} /> )} + + + ) }