From a98ae97150b38c38ab40fdbbbfcd2bf096c6b763 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Sun, 5 Nov 2023 15:26:39 +0100 Subject: [PATCH] enh: Sync 3s after startup fixes #1392 --- src/lib/browser/BrowserController.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/browser/BrowserController.js b/src/lib/browser/BrowserController.js index 24b6bebb39..f48554bbcf 100644 --- a/src/lib/browser/BrowserController.js +++ b/src/lib/browser/BrowserController.js @@ -114,6 +114,9 @@ export default class BrowserController { // Set correct badge after waiting a bit setTimeout(() => this.updateStatus(), 3000) + + // checkSync after waiting a bit + setTimeout(() => this.alarms.checkSync(), 3000) } setEnabled(enabled) {