From 23d4b305b82901575078a628038470fe7d39490c Mon Sep 17 00:00:00 2001 From: soopeach Date: Thu, 12 Jan 2023 20:46:58 +0900 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=EB=82=B4=20=EC=9A=B4=EB=8F=99?= =?UTF-8?q?=EA=B8=B0=EB=A1=9D=20=EC=B5=9C=EC=8B=A0=20=EC=A0=95=EB=B3=B4?= =?UTF-8?q?=EB=B6=80=ED=84=B0=20=ED=99=95=EC=9D=B8=ED=95=A0=20=EC=88=98=20?= =?UTF-8?q?=EC=9E=88=EB=8F=84=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/whyranoid/data/account/RunningHistoryDao.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 06499d4f..ba8f9454 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> }