Don't return false in isStarted if objective has been accomplished

This commit is contained in:
TebbeUbben 2018-06-09 23:10:54 +02:00
parent 0d21a0ab62
commit 6bc13d9cc0
2 changed files with 2 additions and 2 deletions

View file

@ -82,7 +82,7 @@ public class ObjectivesFragment extends SubscriberFragment {
holder.gate.setVisibility(View.VISIBLE);
holder.gate.setText(MainApp.gs(objective.getGate()));
} else holder.gate.setVisibility(View.GONE);
if (!objective.isStarted() && !objective.isAccomplished()) {
if (!objective.isStarted()) {
holder.gate.setTextColor(0xFFFFFFFF);
holder.verify.setVisibility(View.GONE);
holder.progress.setVisibility(View.GONE);

View file

@ -45,7 +45,7 @@ public abstract class Objective {
}
public boolean isStarted() {
return startedOn != null && accomplishedOn == null;
return startedOn != null;
}
public Date getStartedOn() {