Skip to content

Commit

Permalink
nx: fix setup continue color
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <[email protected]>
  • Loading branch information
pulsejet committed Oct 7, 2023
1 parent b4cd0f3 commit 72a76d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/native/Setup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@
{{ t('memories', 'Grant permissions') }}
</NcButton>

<NcButton type="primary" class="button" @click="step += hasMediaPermission ? 1 : 2">
<NcButton
:type="hasMediaPermission ? 'secondary' : 'primary'"
class="button"
@click="step += hasMediaPermission ? 1 : 2"
>
{{ hasMediaPermission ? t('memories', 'Continue') : t('memories', 'Skip this step') }}
</NcButton>
</div>
Expand Down

0 comments on commit 72a76d7

Please sign in to comment.