chore: build and UI fixes

This commit is contained in:
2026-02-26 20:58:10 -05:00
parent 34a73f0f94
commit 1f0229461b
10 changed files with 17 additions and 18 deletions

View File

@ -152,7 +152,7 @@ async function startService() {
// Throttling updates to save battery/bandwidth
if (now - lastUpdate.value >= minUpdateInterval) {
try {
await telemetryService.sendTelemetry({
await telemetryService.sendLocation({
latitude: position.coords.latitude,
longitude: position.coords.longitude,
speed: position.coords.speed || undefined,
@ -192,7 +192,7 @@ function stopService() {
localStorage.setItem('driver_in_service', 'false')
// Optionally notify backend that we are offline
telemetryService.sendTelemetry({
telemetryService.sendLocation({
latitude: 0,
longitude: 0,
status: 'offline'