Removed per account on demand sync

This commit is contained in:
M66B
2019-03-01 14:32:18 +00:00
parent c268a83df7
commit a54ae08fbc
15 changed files with 26 additions and 63 deletions

View File

@@ -303,7 +303,7 @@ public class FragmentFolders extends FragmentBase {
} else {
// Folder list
EntityAccount account = db.account().getAccount(aid);
if (account.ondemand)
if (account != null && !"connected".equals(account.state))
ServiceUI.fsync(context, aid);
else
ServiceSynchronize.reload(getContext(), "refresh folders");