Fix position of ringview of subhabits after removed from the group

pull/2020/head
Dharanish 1 year ago
parent 0ae5a53594
commit 57b3b9d607

@ -37,6 +37,7 @@ data class AddToGroupCommand(
habit.group = hgr habit.group = hgr
hgr.habitList.add(habit) hgr.habitList.add(habit)
entries.forEach { habit.originalEntries.add(it) } entries.forEach { habit.originalEntries.add(it) }
habit.observable.notifyListeners()
} }
} }
} }

@ -35,6 +35,7 @@ data class RemoveFromGroupCommand(
habit.groupUUID = null habit.groupUUID = null
habitList.add(habit) habitList.add(habit)
entries.forEach { habit.originalEntries.add(it) } entries.forEach { habit.originalEntries.add(it) }
habit.observable.notifyListeners()
} }
} }
} }

Loading…
Cancel
Save