mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 21:14:54 +00:00
code refactoring
This commit is contained in:
@ -19,6 +19,7 @@ class DevicesViewBody extends StatelessWidget {
|
||||
create: (context) => DevicesCubit(),
|
||||
child: BlocBuilder<DevicesCubit, DevicesState>(
|
||||
builder: (context, state) {
|
||||
//TODO : move to NavigationCubit
|
||||
PageController pageController = PageController();
|
||||
return state is DevicesLoading
|
||||
? const Center(child: CircularProgressIndicator())
|
||||
|
||||
Reference in New Issue
Block a user