mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
poll full sync on interval. broadcast messages from background
This commit is contained in:
@@ -169,10 +169,12 @@ function initSyncService() {
|
||||
|
||||
function syncStarted() {
|
||||
this.syncInProgress = true;
|
||||
chrome.runtime.sendMessage(null, { command: 'syncStarted' });
|
||||
}
|
||||
|
||||
function syncCompleted(successfully) {
|
||||
this.syncInProgress = false;
|
||||
chrome.runtime.sendMessage(null, { command: 'syncCompleted', successfully: successfully });
|
||||
}
|
||||
|
||||
function handleError() {
|
||||
|
||||
Reference in New Issue
Block a user