fixed space

This commit is contained in:
hannathkadher
2024-10-30 09:56:57 +04:00
parent 5a7ed3ec7c
commit d025da6daf
16 changed files with 114 additions and 76 deletions
@@ -30,7 +30,7 @@ class _SceneRoomsTabBarDevicesViewState
@override
void initState() {
rooms = List.from(HomeCubit.getInstance().selectedSpace?.rooms ?? []);
rooms = List.from(HomeCubit.getInstance().selectedSpace?.subspaces ?? []);
if (rooms != null) {
if (rooms![0].id != '-1') {
rooms?.insert(