flip graph render oder

This commit is contained in:
2025-07-25 02:26:51 +05:00
parent e34257700a
commit 245ba50172

View File

@@ -197,7 +197,7 @@ class HomeViewModel(application: Application) : AndroidViewModel(application) {
Log.e(TAG, "Error parsing usage reading", e)
null
}
}.sortedBy { it.date } // Sort by date ascending
}.sortedByDescending { it.date } // Sort by date descending (most recent first)
_chartData.value = chartPoints