From 5c077ddc0ef58ed58677f0245d84e2f302018e2a Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Mon, 10 Aug 2020 14:00:10 +0300 Subject: [PATCH] SyncManager: make helper functions private. --- src/sync/SyncManager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sync/SyncManager.ts b/src/sync/SyncManager.ts index b02baab..9857e7b 100644 --- a/src/sync/SyncManager.ts +++ b/src/sync/SyncManager.ts @@ -31,7 +31,7 @@ export class SyncManager { protected etebase: Etebase.Account; protected isSyncing: boolean; - public async fetchCollection(col: Etebase.Collection) { + private async fetchCollection(col: Etebase.Collection) { const storeState = store.getState() as unknown as StoreState; const etebase = (await credentialsSelector(storeState))!; const syncCollection = storeState.sync.collections.get(col.uid, undefined); @@ -54,7 +54,7 @@ export class SyncManager { } } - public async fetchAllCollections() { + private async fetchAllCollections() { const storeState = store.getState() as unknown as StoreState; const etebase = (await credentialsSelector(storeState))!; const syncGeneral = storeState.sync.general;