fix: open floor plan when showing particle cloud
This commit is contained in:
@@ -174,7 +174,9 @@ class _TagDetailSheetState extends ConsumerState<TagDetailSheet> {
|
|||||||
ref.read(trackedTagProvider.notifier).state = isTracking
|
ref.read(trackedTagProvider.notifier).state = isTracking
|
||||||
? null
|
? null
|
||||||
: tag;
|
: tag;
|
||||||
// TODO: move screen to floor plan
|
if (!isTracking) {
|
||||||
|
GoRouter.of(context).go('/floorplan');
|
||||||
|
}
|
||||||
},
|
},
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
|||||||
Reference in New Issue
Block a user