mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-23 09:07:54 +00:00
add comment todo
This commit is contained in:
@@ -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!),
|
||||
|
||||
Reference in New Issue
Block a user