Task no log implies no count

This commit is contained in:
M66B
2021-02-22 12:21:09 +01:00
parent 765368afb0
commit 941705ec7a
2 changed files with 3 additions and 1 deletions

View File

@@ -64,6 +64,8 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
public SimpleTask<T> setLog(boolean log) {
this.log = log;
if (!log)
this.count = false;
return this;
}