mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-16 01:56:19 +00:00
Bug fixes
This commit is contained in:
@ -20,7 +20,7 @@ class AssignDeviceView extends StatelessWidget {
|
||||
child: BlocConsumer<ManageUnitBloc, ManageUnitState>(listener: (context, state) {
|
||||
if (state is FetchDeviceByRoomIdState) {
|
||||
if (state.allDevices.isEmpty) {
|
||||
CustomSnackBar.displaySnackBar('No devices available for this user');
|
||||
CustomSnackBar.displaySnackBar('You do not have the permission to assign devices');
|
||||
Navigator.of(context).pop();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user