aboutsummaryrefslogtreecommitdiffstats
path: root/lib/presentation/screens
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2024-08-15 15:54:01 -0400
committerLisandro Perez Meyer <lpmeyer@ics.com>2024-08-15 20:10:34 +0000
commit3ef28eeae6e3336232ab13d0d934aa82892dfe74 (patch)
treee1c4626d690bc137c00a08a264b4b27559060adf /lib/presentation/screens
parent25b6a079d5fe9c1365d776298ae5230a4de1ba16 (diff)
Fix engine speed signal type
Update use of the VSS engine speed (RPM) signal to match the fix done to the AGL VSS overlays to restore the upstream integer data type. Bug-AGL: SPEC-5204 Change-Id: I1993cf291cdc2ca056f4fb2b389ef4eee5558473 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'lib/presentation/screens')
-rw-r--r--lib/presentation/screens/dashboard/widgets/circle_indicator.dart2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/presentation/screens/dashboard/widgets/circle_indicator.dart b/lib/presentation/screens/dashboard/widgets/circle_indicator.dart
index e4be5e7..97c32f2 100644
--- a/lib/presentation/screens/dashboard/widgets/circle_indicator.dart
+++ b/lib/presentation/screens/dashboard/widgets/circle_indicator.dart
@@ -91,7 +91,7 @@ class RPMProgressIndicatorState extends ConsumerState<RPMProgressIndicator>
width: 220,
child: CustomPaint(
foregroundPainter: CirclePainter(
- value: rpm,
+ value: rpm.toDouble(),
maxValue: maxRpm.toDouble(),
isRPM: true,
),