Make reloading of application window not restart periodical check for updates

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen committed 2022-06-27 13:34:56 +03:00
1 parent 42e633d0b9
commit 108bf8a064
1 file changed
+1 -1
@@ -16,7 +16,7 @@ const startCheckingForUpdatesInjectable = getInjectable({
return {
run: async () => {
if (updatingIsEnabled) {
if (updatingIsEnabled && !periodicalCheckForUpdates.started) {
await periodicalCheckForUpdates.start();
}
},