Online tracking, deviceidentityservice
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user