Added on demand sync setting

This commit is contained in:
M66B
2019-12-08 15:00:15 +01:00
parent 4c68973238
commit e85beb1b04
8 changed files with 2036 additions and 12 deletions

View File

@@ -49,7 +49,7 @@ public class TupleAccountState extends EntityAccount {
}
boolean isEnabled(boolean enabled) {
return (enabled && synchronize && folders > 0 && tbd == null);
return (enabled && synchronize && !ondemand && folders > 0 && tbd == null);
}
boolean shouldRun(boolean enabled) {