From 2933603ee0940395a80a91bb23e50cbe8ba9baa5 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期三, 05 三月 2025 10:03:16 +0800
Subject: [PATCH] fix: 2

---
 app/src/main/java/com/example/firstapp/ui/dashboard/DashboardViewModel.kt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/src/main/java/com/example/firstapp/ui/dashboard/DashboardViewModel.kt b/app/src/main/java/com/example/firstapp/ui/dashboard/DashboardViewModel.kt
index 4c3032e..c2c0fc9 100644
--- a/app/src/main/java/com/example/firstapp/ui/dashboard/DashboardViewModel.kt
+++ b/app/src/main/java/com/example/firstapp/ui/dashboard/DashboardViewModel.kt
@@ -23,7 +23,7 @@
 
     fun getCourierStats(date: Long) = repository.getCourierStats(date).asLiveData()
 
-    fun getDailyStats() = repository.getDailyStats().asLiveData()
+    fun getDailyStats(date: Long) = repository.getDailyStats(date).asLiveData()
 
     fun insert(code: Code) = viewModelScope.launch {
         repository.insert(code)

--
Gitblit v1.9.3