backend deployment update and navigator shake animation

- backend: now runs uv sync at service start to make sure of uv lock status. might migrate to package/bundle
- navigator now shakes when entering 'surprise' state
This commit is contained in:
Mikkeli Matlock
2026-01-30 22:47:18 +09:00
parent 71e2214e32
commit 7a6e69861b
5 changed files with 60 additions and 5 deletions

View File

@@ -191,8 +191,8 @@ class _DashboardScreenState extends State<DashboardScreen> {
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
StatBox(value: _formatInt(_rpm), label: 'RPM'),
StatBox(value: _formatInt(_engineTemp), unit: '°C', label: 'ENG'),
StatBox(value: _formatInt(_rpm), label: 'RPM', isWarning: () => (_rpm ?? 0) > 4000),
StatBox(value: _formatInt(_engineTemp), unit: '°C', label: 'ENG', isWarning: () => (_engineTemp ?? 0) > 120),
StatBox(value: _formatGear(_gear), label: 'GEAR'),
],
),