flip graph render oder
This commit is contained in:
@@ -197,7 +197,7 @@ class HomeViewModel(application: Application) : AndroidViewModel(application) {
|
|||||||
Log.e(TAG, "Error parsing usage reading", e)
|
Log.e(TAG, "Error parsing usage reading", e)
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
}.sortedBy { it.date } // Sort by date ascending
|
}.sortedByDescending { it.date } // Sort by date descending (most recent first)
|
||||||
|
|
||||||
_chartData.value = chartPoints
|
_chartData.value = chartPoints
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user