diff --git a/src/renderer/react/AppUpdaterDialog.tsx b/src/renderer/react/AppUpdaterDialog.tsx index b21fb84..28a0d82 100644 --- a/src/renderer/react/AppUpdaterDialog.tsx +++ b/src/renderer/react/AppUpdaterDialog.tsx @@ -151,7 +151,7 @@ export default function AppUpdaterDialog() { ); useEffect(() => { - if (update == null || isUpdateIgnored || !isDialogEnabled) { + if (update == null) { return; } @@ -160,7 +160,9 @@ export default function AppUpdaterDialog() { return; } - showNotificationDialog(); + if (isDialogEnabled && !isUpdateIgnored) { + showNotificationDialog(); + } }, [ isDialogEnabled, isUpdateIgnored,