Allow some objectives to go back.
This commit is contained in:
parent
a5d1905be8
commit
c40907b951
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ public class ObjectivesFragment extends SubscriberFragment {
|
||||||
objective.setAccomplishedOn(null);
|
objective.setAccomplishedOn(null);
|
||||||
objective.setStartedOn(null);
|
objective.setStartedOn(null);
|
||||||
if (position > 0) {
|
if (position > 0) {
|
||||||
Objective prevObj = ObjectivesPlugin.getObjectives().get(position - 1);
|
Objective prevObj = ObjectivesPlugin.getPlugin().getObjectives().get(position - 1);
|
||||||
prevObj.setAccomplishedOn(null);
|
prevObj.setAccomplishedOn(null);
|
||||||
}
|
}
|
||||||
notifyDataSetChanged();
|
notifyDataSetChanged();
|
||||||
|
|
Loading…
Reference in a new issue