sync update persistent notification

This commit is contained in:
zadam
2019-10-25 22:20:14 +02:00
parent edc23940d0
commit 22d48b0586
3 changed files with 30 additions and 5 deletions

View File

@@ -99,8 +99,18 @@ async function refreshTree() {
await sendMessageToAllClients({ type: 'refresh-tree' });
}
async function syncPullInProgress() {
await sendMessageToAllClients({ type: 'sync-pull-in-progress' });
}
async function syncPullFinished() {
await sendMessageToAllClients({ type: 'sync-pull-finished' });
}
module.exports = {
init,
sendMessageToAllClients,
refreshTree
refreshTree,
syncPullInProgress,
syncPullFinished
};