You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The smoothedData flow is now initialized with null instead of an empty list. This ensures that downstream consumers correctly handle the loading state and do not attempt to process data before it's available.
// Determine which measurement types to actually plot based on current selections,
@@ -557,7 +555,7 @@ fun MeasurementChart(
557
555
contentAlignment =Alignment.Center
558
556
) {
559
557
val message =if (lineTypesToActuallyPlot.isEmpty() && effectiveShowTypeFilterRow) {
560
-
if (currentSelectedTypeIntIds.isNotEmpty() && smoothedData.none { m -> m.measurementWithValues.values.any { v -> v.type.id in currentSelectedTypeIntIds } }) {
558
+
if (currentSelectedTypeIntIds.isNotEmpty() &&(smoothedData?: emptyList()).none { m -> m.measurementWithValues.values.any { v -> v.type.id in currentSelectedTypeIntIds } }) {
0 commit comments