From 897ffe5e29ab022d75ad948ecf894e0a3ed3b2f5 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期二, 04 三月 2025 18:01:41 +0800
Subject: [PATCH] fix: 1

---
 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 c2c0fc9..4c3032e 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(date: Long) = repository.getDailyStats(date).asLiveData()
+    fun getDailyStats() = repository.getDailyStats().asLiveData()
 
     fun insert(code: Code) = viewModelScope.launch {
         repository.insert(code)

--
Gitblit v1.9.3