diff --git a/data/src/main/java/com/whyranoid/data/account/RunningHistoryDao.kt b/data/src/main/java/com/whyranoid/data/account/RunningHistoryDao.kt index 06499d4..ba8f945 100644 --- a/data/src/main/java/com/whyranoid/data/account/RunningHistoryDao.kt +++ b/data/src/main/java/com/whyranoid/data/account/RunningHistoryDao.kt @@ -12,6 +12,6 @@ interface RunningHistoryDao { @Insert(onConflict = OnConflictStrategy.REPLACE) suspend fun addRunningHistory(runningHistory: RunningHistoryEntity) - @Query("SELECT * FROM running_history ORDER BY started_at ASC") + @Query("SELECT * FROM running_history ORDER BY started_at DESC") fun getRunningHistory(): Flow> }