mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-16 05:48:51 -06:00
Implement partial reordering or habit groups
This commit is contained in:
@@ -118,6 +118,10 @@ open class ListHabitsBehavior @Inject constructor(
|
||||
}
|
||||
}
|
||||
|
||||
fun onReorderHabitGroup(from: HabitGroup, to: HabitGroup) {
|
||||
taskRunner.execute { habitGroupList.reorder(from, to) }
|
||||
}
|
||||
|
||||
fun onRepairDB() {
|
||||
taskRunner.execute {
|
||||
habitList.repair()
|
||||
|
||||
Reference in New Issue
Block a user