mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-27 18:40:33 +00:00
feat: change checks for port inputs
This commit is contained in:
parent
836521aee4
commit
ac033ba62a
@ -80,14 +80,9 @@ const InputsRow = ({
|
||||
</Text>
|
||||
<Input value={address} onChangeText={onAddressChange} />
|
||||
</YStack>
|
||||
{isAdvanced ? (
|
||||
<PortInput port={port} portType={portType} />
|
||||
) : (
|
||||
<XStack space={'$3'} flexGrow={4} flexBasis={0}>
|
||||
<PortInput port={vcPort} portType={VC} />
|
||||
<PortInput port={beaconPort} portType={BEACON} />
|
||||
</XStack>
|
||||
)}
|
||||
{isAdvanced === true && <PortInput port={port} portType={portType} />}
|
||||
{isAdvanced === false && <PortInput port={vcPort} portType={VC} />}
|
||||
{isAdvanced === false && <PortInput port={beaconPort} portType={BEACON} />}
|
||||
<div style={{ display: 'flex', alignItems: 'end', height: '100%' }}>
|
||||
<Stack height={'46%'} flexBasis={0} flexGrow={0.5}>
|
||||
<Checkbox
|
||||
|
Loading…
x
Reference in New Issue
Block a user