From 1c78f0c20f2bb33ff4c602aa4ddcf0b3f8663acb Mon Sep 17 00:00:00 2001 From: Jonas Greifenhain Date: Fri, 13 Dec 2024 22:02:58 +0100 Subject: [PATCH] Fix type check --- example/lib/widgets/sensor_configuration_view.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/lib/widgets/sensor_configuration_view.dart b/example/lib/widgets/sensor_configuration_view.dart index b59a818..af1cdce 100644 --- a/example/lib/widgets/sensor_configuration_view.dart +++ b/example/lib/widgets/sensor_configuration_view.dart @@ -9,7 +9,7 @@ class SensorConfigurationView extends StatefulWidget { static List? createSensorConfigurationViews( Wearable wearable) { - if (wearable is SensorManager) { + if (wearable is SensorConfigurationManager) { final sensorManager = wearable as SensorConfigurationManager; return sensorManager.sensorConfigurations .map(