feat: add sensor move mode to floor plan
This commit is contained in:
@@ -59,10 +59,7 @@ class _Body extends ConsumerWidget {
|
||||
OutlinedButton.icon(
|
||||
icon: const Icon(Icons.map_outlined),
|
||||
label: const Text('Locate on floor plan'),
|
||||
onPressed: () {
|
||||
ref.read(selectedSensorIdProvider.notifier).state = sensorId;
|
||||
context.go('/floorplan');
|
||||
},
|
||||
onPressed: () => context.go('/floorplan'),
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
OutlinedButton.icon(
|
||||
|
||||
Reference in New Issue
Block a user