Don't return false in isStarted if objective has been accomplished
This commit is contained in:
parent
0d21a0ab62
commit
6bc13d9cc0
|
@ -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);
|
||||
|
|
|
@ -45,7 +45,7 @@ public abstract class Objective {
|
|||
}
|
||||
|
||||
public boolean isStarted() {
|
||||
return startedOn != null && accomplishedOn == null;
|
||||
return startedOn != null;
|
||||
}
|
||||
|
||||
public Date getStartedOn() {
|
||||
|
|
Loading…
Reference in a new issue