Update habit in both HabitLists, refreshHabit to update the display to hide gaps

pull/558/head
Scrimbly 6 years ago
parent 74352e6eae
commit 2abcfb141a

@ -183,6 +183,9 @@ public class HabitCardListCache implements CommandRunner.Listener
{
Habit habit = data.habits.get(position);
habit.dismiss();
allHabits.update(habit);
filteredHabits.update(habit);
refreshHabit(habit.id);
}
public synchronized void setCheckmarkCount(int checkmarkCount)

Loading…
Cancel
Save