mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-19 05:38:31 +00:00
Fixed operation count
This commit is contained in:
parent
4023d98060
commit
d903e3636d
1 changed files with 2 additions and 1 deletions
|
@ -235,7 +235,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||||
runService = true;
|
runService = true;
|
||||||
if ("connected".equals(current.accountState.state))
|
if ("connected".equals(current.accountState.state))
|
||||||
accounts++;
|
accounts++;
|
||||||
operations += current.accountState.operations;
|
if (current.accountState.synchronize)
|
||||||
|
operations += current.accountState.operations;
|
||||||
|
|
||||||
int index = accountStates.indexOf(current);
|
int index = accountStates.indexOf(current);
|
||||||
if (index < 0) {
|
if (index < 0) {
|
||||||
|
|
Loading…
Reference in a new issue