Online tracking, deviceidentityservice

This commit is contained in:
2026-06-23 15:21:20 +02:00
parent 65b355edd9
commit aa78c7bb6f
13 changed files with 850 additions and 33 deletions
+21 -21
View File
@@ -127,28 +127,28 @@ class ShellMapAppBar extends StatelessWidget implements PreferredSizeWidget {
// ),
// );
// }),
Obx(() {
final connected = controller.gpsIsConnected;
// Obx(() {
// final connected = controller.gpsIsConnected;
return IconButton(
tooltip: connected
? 'GNSS vevő csatlakozva'
: 'GNSS vevő nincs csatlakoztatva',
visualDensity: VisualDensity.compact,
padding: EdgeInsets.zero,
constraints: const BoxConstraints(
minWidth: 40,
minHeight: 44,
),
icon: GnssReceiverIcon(
size: 24,
color: connected
? Colors.green.shade700
: Theme.of(context).colorScheme.onSurfaceVariant,
),
onPressed: () {},
);
}),
// return IconButton(
// tooltip: connected
// ? 'GNSS vevő csatlakozva'
// : 'GNSS vevő nincs csatlakoztatva',
// visualDensity: VisualDensity.compact,
// padding: EdgeInsets.zero,
// constraints: const BoxConstraints(
// minWidth: 40,
// minHeight: 44,
// ),
// icon: GnssReceiverIcon(
// size: 24,
// color: connected
// ? Colors.green.shade700
// : Theme.of(context).colorScheme.onSurfaceVariant,
// ),
// onPressed: () {},
// );
// }),
TrackRecordingAction(
controller: TrackingController.to,
onTap: () => _openTrackingSheet(context),