mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Prevent crash
This commit is contained in:
@@ -151,7 +151,7 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
@Override
|
||||
public void onChanged(Integer count) {
|
||||
Log.i("Synchronizing folders=" + count);
|
||||
if (count == 0)
|
||||
if (count == null || count == 0)
|
||||
cowner.start();
|
||||
else
|
||||
cowner.stop();
|
||||
|
||||
Reference in New Issue
Block a user