Skip to content

Commit

Permalink
Don't hide update progress dialog just because update notification di…
Browse files Browse the repository at this point in the history
…alog is hidden
  • Loading branch information
olegbl committed Oct 14, 2024
1 parent e5c7aef commit 16c61b9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/renderer/react/AppUpdaterDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export default function AppUpdaterDialog() {
);

useEffect(() => {
if (update == null || isUpdateIgnored || !isDialogEnabled) {
if (update == null) {
return;
}

Expand All @@ -160,7 +160,9 @@ export default function AppUpdaterDialog() {
return;
}

showNotificationDialog();
if (isDialogEnabled && !isUpdateIgnored) {
showNotificationDialog();
}
}, [
isDialogEnabled,
isUpdateIgnored,
Expand Down

0 comments on commit 16c61b9

Please sign in to comment.