Don't list archived Habits when creating Widgets. (#309)

Fixes #283
This commit is contained in:
PrototypeNM1
2017-06-20 06:07:15 -04:00
committed by Alinson Xavier
parent af7c4e227d
commit b14ca5c625

View File

@@ -86,6 +86,7 @@ public class HabitPickerDialog extends Activity
for (Habit h : habitList) for (Habit h : habitList)
{ {
if (h.isArchived()) continue;
habitIds.add(h.getId()); habitIds.add(h.getId());
habitNames.add(h.getName()); habitNames.add(h.getName());
} }