mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Fixed task count
This commit is contained in:
@@ -139,8 +139,6 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
|
||||
tasks.add(this);
|
||||
}
|
||||
|
||||
updateTaskCount(context);
|
||||
|
||||
try {
|
||||
onPreExecute(args);
|
||||
} catch (Throwable ex) {
|
||||
@@ -253,6 +251,8 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
updateTaskCount(context);
|
||||
}
|
||||
|
||||
void cancel(Context context) {
|
||||
|
||||
Reference in New Issue
Block a user