mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-25 10:57:55 +00:00
Fixed logout issue
This commit is contained in:
@@ -20,8 +20,7 @@ class LightsView extends StatelessWidget {
|
||||
builder: (context, state) {
|
||||
DeviceModel? selectedLight;
|
||||
if (DevicesCubit.getInstance().getSelectedDevice() is DeviceModel) {
|
||||
selectedLight =
|
||||
DevicesCubit.getInstance().getSelectedDevice() as DeviceModel;
|
||||
selectedLight = DevicesCubit.getInstance().getSelectedDevice() as DeviceModel;
|
||||
}
|
||||
List<DeviceModel> lights = [];
|
||||
if (DevicesCubit.allCategories![1].devices != null) {
|
||||
|
||||
Reference in New Issue
Block a user