Removed static space id and community id in the routine

This commit is contained in:
Abdullah Alassaf
2025-02-17 03:32:40 +03:00
parent dec3a25639
commit 0aa029a2fc
13 changed files with 248 additions and 255 deletions

View File

@ -20,10 +20,6 @@ class _FetchRoutineScenesState extends State<FetchRoutineScenesAutomation>
@override
void initState() {
super.initState();
context.read<RoutineBloc>()
..add(LoadScenes(context.read<SpaceTreeBloc>().selectedSpaceId,
context.read<SpaceTreeBloc>().selectedCommunityId))
..add(LoadAutomation(context.read<SpaceTreeBloc>().selectedSpaceId));
}
@override