From 64796a7237fc9a1b8d6de9433f10ee8e91bad7a2 Mon Sep 17 00:00:00 2001 From: Joaquim Cardeira Date: Wed, 27 May 2026 02:40:57 +0100 Subject: [PATCH 1/2] show fixTime instead of lastUpdate in device bottom sheet Co-Authored-By: Claude Sonnet 4.6 --- lib/widgets/position_detail.dart | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/widgets/position_detail.dart b/lib/widgets/position_detail.dart index 03ab251..7af6359 100644 --- a/lib/widgets/position_detail.dart +++ b/lib/widgets/position_detail.dart @@ -41,11 +41,8 @@ class _PositionDetailState extends State { return l10n.speedKmh(kmh.round()); } - DateTime? _effectiveLastUpdate() { - final deviceTime = widget.device.lastUpdate; - final posTime = widget.pos.fixTime; - if (deviceTime == null) return posTime; - return posTime.isAfter(deviceTime) ? posTime : deviceTime; + DateTime _effectiveLastUpdate() { + return widget.pos.fixTime; } String _formatLastUpdate(BuildContext context, DateTime? lastUpdate) { From b87b423d270e03f6d12411e06847913f1060dd3c Mon Sep 17 00:00:00 2001 From: Joaquim Cardeira Date: Wed, 27 May 2026 02:41:13 +0100 Subject: [PATCH 2/2] 10 --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 229878e..0c3e7de 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: manager description: "Track Fleet" publish_to: 'none' # Remove this line if you wish to publish to pub.dev -version: 3.18.9+1 +version: 3.18.10+1 environment: sdk: ^3.9.2