feat: change disabled continue button

This commit is contained in:
RadoslavDimchev 2024-01-03 08:37:05 +02:00
parent 1840e582f8
commit 9db0034feb
1 changed files with 5 additions and 1 deletions

View File

@ -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>