mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-24 17:27:54 +00:00
bug_fixing 2
This commit is contained in:
@@ -18,7 +18,7 @@ class DevicesViewBody extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return BlocBuilder<HomeCubit, SpacesState>(
|
||||
return BlocBuilder<HomeCubit, HomeState>(
|
||||
builder: (context, state) {
|
||||
return BlocBuilder<DevicesCubit, DevicesState>(
|
||||
builder: (context, state) {
|
||||
|
||||
@@ -27,7 +27,7 @@ class LightSwitchesView extends StatelessWidget {
|
||||
extendBodyBehindAppBar: true,
|
||||
extendBody: true,
|
||||
appBar: const CategoryViewAppBar(),
|
||||
body: BlocBuilder<HomeCubit, SpacesState>(
|
||||
body: BlocBuilder<HomeCubit, HomeState>(
|
||||
builder: (context, state) {
|
||||
return Container(
|
||||
width: MediaQuery.sizeOf(context).width,
|
||||
|
||||
@@ -13,7 +13,7 @@ class RoomsSlider extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return BlocBuilder<HomeCubit, SpacesState>(
|
||||
return BlocBuilder<HomeCubit, HomeState>(
|
||||
builder: (context, state) {
|
||||
return SizedBox(
|
||||
height: 40,
|
||||
|
||||
Reference in New Issue
Block a user