mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
3819c5dea7
commit
2cbe22c350
|
@ -151,7 +151,7 @@ public class ServiceSynchronize extends LifecycleService {
|
||||||
@Override
|
@Override
|
||||||
public void onChanged(Integer count) {
|
public void onChanged(Integer count) {
|
||||||
Log.i("Synchronizing folders=" + count);
|
Log.i("Synchronizing folders=" + count);
|
||||||
if (count == 0)
|
if (count == null || count == 0)
|
||||||
cowner.start();
|
cowner.start();
|
||||||
else
|
else
|
||||||
cowner.stop();
|
cowner.stop();
|
||||||
|
|
Loading…
Reference in New Issue