mirror of https://github.com/M66B/FairEmail.git
Fixed task count
This commit is contained in:
parent
7970ff9a31
commit
635115730a
|
@ -139,8 +139,6 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
|
||||||
tasks.add(this);
|
tasks.add(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
updateTaskCount(context);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
onPreExecute(args);
|
onPreExecute(args);
|
||||||
} catch (Throwable ex) {
|
} catch (Throwable ex) {
|
||||||
|
@ -253,6 +251,8 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
updateTaskCount(context);
|
||||||
}
|
}
|
||||||
|
|
||||||
void cancel(Context context) {
|
void cancel(Context context) {
|
||||||
|
|
Loading…
Reference in New Issue