mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
@@ -73,6 +73,11 @@ class HabitCardListCache @Inject constructor(
|
||||
return data.checkmarks[habitId]!!
|
||||
}
|
||||
|
||||
@Synchronized
|
||||
fun hasNoHabit(): Boolean {
|
||||
return allHabits.isEmpty
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the habits that occupies a certain position on the list.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user