Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jemshit committed Sep 8, 2018
1 parent 44a187a commit a6491f4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class SensorValueRepository private constructor() {
sensorValueDao.saveSingle(entity)
}

// todo for loops must be in async un, then call await on all of them
suspend fun getDistinctStatistics(): Map<String, ActivityStatistics> {
val distinctStats = sensorValueDao.getDistinctStatistics()
return if (distinctStats.isEmpty())
Expand Down

0 comments on commit a6491f4

Please sign in to comment.