mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-13 20:06:33 +00:00
feat: hide advanced settings for is paired
This commit is contained in:
parent
6ff153e29d
commit
03185b1ae9
@ -37,17 +37,24 @@ const PairDevice = () => {
|
||||
changeSetIsAwaitingPairing={changeSetIsAwaitingPairing}
|
||||
/>
|
||||
)}
|
||||
<Separator borderColor={'#e3e3e3'} />
|
||||
<YStack space={'$1'}>
|
||||
<Text size={19} weight={'semibold'} color="#09101C">
|
||||
Advanced Settings
|
||||
</Text>
|
||||
<XStack>
|
||||
<Button icon={<Icon src="/icons/connection-blue.svg" width={20} />} variant="outline">
|
||||
Connect via IP
|
||||
</Button>
|
||||
</XStack>
|
||||
</YStack>
|
||||
{isPaired === false && (
|
||||
<>
|
||||
<Separator borderColor={'#e3e3e3'} />
|
||||
<YStack space={'$1'}>
|
||||
<Text size={19} weight={'semibold'} color="#09101C">
|
||||
Advanced Settings
|
||||
</Text>
|
||||
<XStack>
|
||||
<Button
|
||||
icon={<Icon src="/icons/connection-blue.svg" width={20} />}
|
||||
variant="outline"
|
||||
>
|
||||
Connect via IP
|
||||
</Button>
|
||||
</XStack>
|
||||
</YStack>
|
||||
</>
|
||||
)}
|
||||
{isPaired && <CreateAvatar />}
|
||||
<Separator borderColor={'#e3e3e3'} />
|
||||
<div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user