mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
EditHabitCommand: Notify listeners
This commit is contained in:
@@ -80,6 +80,7 @@ public class EditHabitCommand implements Command
|
||||
|
||||
habit.copyFrom(model);
|
||||
habitList.update(habit);
|
||||
habit.getObservable().notifyListeners();
|
||||
|
||||
if (hasFrequencyChanged || hasTargetChanged)
|
||||
habit.invalidateNewerThan(Timestamp.ZERO);
|
||||
|
||||
Reference in New Issue
Block a user