diff --git a/.github/CHANGELOG.yaml b/.github/CHANGELOG.yaml index a006a602..a749a545 100644 --- a/.github/CHANGELOG.yaml +++ b/.github/CHANGELOG.yaml @@ -9,6 +9,11 @@ releases: + - name: 3.4.2 + changes: + - title: Fixed "Don't show this again" toggle button + categories: [UI] + authors: [JoaoOliveira85] - name: 3.4.1 changes: - title: Update installer default data for addon sources diff --git a/src/renderer/components/Modal/AutostartDialog.tsx b/src/renderer/components/Modal/AutostartDialog.tsx index 38bb2220..5b9b97c7 100644 --- a/src/renderer/components/Modal/AutostartDialog.tsx +++ b/src/renderer/components/Modal/AutostartDialog.tsx @@ -109,6 +109,7 @@ export const CompactYesNoOptionToggle: FC = ({ children, }) => { const handleClick = onToggle; + const voidFunction = () => {}; const borderColor = enabled ? 'border-cyan' : 'border-navy-light'; const titleColor = enabled ? 'text-cyan' : 'text-quasi-white'; @@ -118,7 +119,7 @@ export const CompactYesNoOptionToggle: FC = ({ className={`flex items-center gap-x-6 border-2 ${borderColor} transition-color cursor-pointer rounded-md px-6 py-5 duration-200`} onClick={handleClick} > - + {children}