Resort habit list after habit edit (#1350)

* Add regression test for #1131
* Resort habit list after habit edit

Fixes #1131.
This commit is contained in:
Quentin Hibon
2022-04-21 18:29:42 +02:00
committed by GitHub
parent 999057300b
commit c453810785
5 changed files with 80 additions and 0 deletions

View File

@@ -33,5 +33,6 @@ data class EditHabitCommand(
habitList.update(habit)
habit.observable.notifyListeners()
habit.recompute()
habitList.resort()
}
}