add comment todo

This commit is contained in:
ashrafzarkanisala
2024-06-13 02:14:58 +03:00
parent a8132c37db
commit 7c9b7fbb86

View File

@ -60,6 +60,8 @@ class _SceneControlDevicesViewState extends State<SceneControlDevicesView>
padding: EdgeInsets.zero,
child: BlocProvider(
create: (context) => DevicesCubit.getInstance(),
//TODO: remove the future builder for the first room call
//TODO: and replace it from a bloc call
child: FutureBuilder(
future: DevicesCubit.getInstance()
.fetchDevicesByRoomId(rooms![0].id!),