1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-31 20:25:38 +00:00

Fixed operation count

This commit is contained in:
M66B 2019-12-09 08:33:25 +01:00
parent 4023d98060
commit d903e3636d

View file

@ -235,7 +235,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
runService = true;
if ("connected".equals(current.accountState.state))
accounts++;
operations += current.accountState.operations;
if (current.accountState.synchronize)
operations += current.accountState.operations;
int index = accountStates.indexOf(current);
if (index < 0) {