feat: change disabled continue button
This commit is contained in:
parent
1840e582f8
commit
9db0034feb
|
@ -97,7 +97,11 @@ const PairDevice = () => {
|
|||
)}
|
||||
<Separator borderColor={'#e3e3e3'} />
|
||||
<div>
|
||||
<Button icon={<NodeIcon size={20} />} disabled={!isPaired} onPress={continueHandler}>
|
||||
<Button
|
||||
icon={<NodeIcon size={20} />}
|
||||
disabled={isConnectingViaIp ? false : !isPaired}
|
||||
onPress={continueHandler}
|
||||
>
|
||||
{isConnectingViaIp ? 'Connect Device' : 'Continue'}
|
||||
</Button>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue