From b297085a9e8a6846fa9a1cb24126ea30eadfbe0a Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Mon, 21 Aug 2023 14:07:42 +0300 Subject: [PATCH] fix: remove and use status icons for connect device --- src/components/Icons/ConnectIcon.tsx | 18 ------ src/components/Icons/CreateIcon.tsx | 16 ----- src/components/Icons/NodeIcon.tsx | 34 ----------- src/components/Icons/PairIcon.tsx | 61 ------------------- .../ConnectDevicePage/ConnectDevicePage.tsx | 13 ++-- 5 files changed, 5 insertions(+), 137 deletions(-) delete mode 100644 src/components/Icons/ConnectIcon.tsx delete mode 100644 src/components/Icons/CreateIcon.tsx delete mode 100644 src/components/Icons/NodeIcon.tsx delete mode 100644 src/components/Icons/PairIcon.tsx diff --git a/src/components/Icons/ConnectIcon.tsx b/src/components/Icons/ConnectIcon.tsx deleted file mode 100644 index 530659a7..00000000 --- a/src/components/Icons/ConnectIcon.tsx +++ /dev/null @@ -1,18 +0,0 @@ -function ConnectIcon() { - return ( - - - - - - ) -} - -export default ConnectIcon diff --git a/src/components/Icons/CreateIcon.tsx b/src/components/Icons/CreateIcon.tsx deleted file mode 100644 index 07a051b9..00000000 --- a/src/components/Icons/CreateIcon.tsx +++ /dev/null @@ -1,16 +0,0 @@ -function CreateIcon() { - return ( - - - - - ) -} - -export default CreateIcon diff --git a/src/components/Icons/NodeIcon.tsx b/src/components/Icons/NodeIcon.tsx deleted file mode 100644 index 9c25f8fa..00000000 --- a/src/components/Icons/NodeIcon.tsx +++ /dev/null @@ -1,34 +0,0 @@ -function NodeIcon() { - return ( - - - - - - - - - - - - - - ) -} - -export default NodeIcon diff --git a/src/components/Icons/PairIcon.tsx b/src/components/Icons/PairIcon.tsx deleted file mode 100644 index 51a93aef..00000000 --- a/src/components/Icons/PairIcon.tsx +++ /dev/null @@ -1,61 +0,0 @@ -function PairIcon() { - return ( - - - - - - - - - - - - - - - - - - - - - - ) -} - -export default PairIcon diff --git a/src/pages/ConnectDevicePage/ConnectDevicePage.tsx b/src/pages/ConnectDevicePage/ConnectDevicePage.tsx index e9b22cc1..0e429721 100644 --- a/src/pages/ConnectDevicePage/ConnectDevicePage.tsx +++ b/src/pages/ConnectDevicePage/ConnectDevicePage.tsx @@ -5,11 +5,8 @@ import { Label, Separator, XStack, YStack } from 'tamagui' import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow' import NimbusLogo from '../../components/Logos/NimbusLogo' import Titles from '../../components/General/Titles' -import NodeIcon from '../../components/Icons/NodeIcon' -import ConnectIcon from '../../components/Icons/ConnectIcon' -import PairIcon from '../../components/Icons/PairIcon' -import CreateIcon from '../../components/Icons/CreateIcon' import LabelInputField from '../../components/General/LabelInputField' +import { AddSmallIcon, ConnectionIcon, NodeIcon, SwapIcon } from '@status-im/icons' const ConnectDevicePage = () => { const [autoConnectChecked, setAutoConnectChecked] = useState(false) @@ -24,9 +21,9 @@ const ConnectDevicePage = () => { - - - + + +
@@ -105,7 +102,7 @@ const ConnectDevicePage = () => { - }>Connect Device + }>Connect Device