Synchronize folders on on demand sync

This commit is contained in:
M66B
2019-02-26 11:39:23 +00:00
parent 7515a321c4
commit 2cd1e2de41

View File

@@ -2231,6 +2231,9 @@ public class ServiceSynchronize extends LifecycleService {
db.account().setAccountState(account.id, "connected");
Log.i(account.name + " connected");
// Synchronize folders
synchronizeFolders(account, istore, new ServiceState());
// Connect folder
Log.i(folder.name + " connecting");
db.folder().setFolderState(folder.id, "connecting");