Skip to content

Commit

Permalink
fix: allow toggle switch by clicking label (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
lawvs authored Aug 2, 2024
1 parent 60f8347 commit 5d98eb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/src/modules/settings/control.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const SettingSwitch: Component<{
>
<Label htmlFor={id}>{label}</Label>
<Switch
id={id}
checked={checked}
onCheckedChange={onCheckedChange}
className="cursor-auto"
Expand Down

0 comments on commit 5d98eb4

Please sign in to comment.