mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-29 00:51:44 +01: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