From 7e2e591d717d073fba4f7dee4609d7510cbd3a6a Mon Sep 17 00:00:00 2001 From: mohammad Date: Sat, 1 Mar 2025 15:19:15 +0300 Subject: [PATCH] remove unused code --- lib/features/devices/bloc/devices_cubit.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/features/devices/bloc/devices_cubit.dart b/lib/features/devices/bloc/devices_cubit.dart index eeb7b94..36b0a59 100644 --- a/lib/features/devices/bloc/devices_cubit.dart +++ b/lib/features/devices/bloc/devices_cubit.dart @@ -86,7 +86,7 @@ class DevicesCubit extends Cubit { } Map usersMap = event.snapshot.value as Map; - print('object-----${usersMap['status']}'); + // print('object-----${usersMap['status']}'); List statusList = []; usersMap['status'].forEach((element) { statusList @@ -660,7 +660,6 @@ class DevicesCubit extends Cubit { code: 'switch_1', value: toggledValue, deviceId: deviceUuid); final response = await DevicesAPI.controlDevice(controlRequest, deviceUuid); - print(response); if (response['result'] != true) { throw Exception('Failed to toggle switch_1'); }