diff --git a/lib/features/devices/bloc/smart_door_bloc/smart_door_bloc.dart b/lib/features/devices/bloc/smart_door_bloc/smart_door_bloc.dart index adf74e6..ff98f6a 100644 --- a/lib/features/devices/bloc/smart_door_bloc/smart_door_bloc.dart +++ b/lib/features/devices/bloc/smart_door_bloc/smart_door_bloc.dart @@ -103,9 +103,6 @@ class SmartDoorBloc extends Bloc { void _renamePassword(RenamePasswordEvent event, Emitter emit) async { try { emit(LoadingInitialState()); - print('==4444${passwordNameController.text}'); - print('==1==${deviceId}'); - print('==4444${passwordId}'); var response = await DevicesAPI.renamePass( name:passwordNameController.text , doorLockUuid:deviceId , diff --git a/lib/features/devices/view/widgets/offline_one_time_password_page.dart b/lib/features/devices/view/widgets/offline_one_time_password_page.dart index 5c75842..8f8ddec 100644 --- a/lib/features/devices/view/widgets/offline_one_time_password_page.dart +++ b/lib/features/devices/view/widgets/offline_one_time_password_page.dart @@ -206,7 +206,6 @@ class OfflineOneTimePasswordPage extends StatelessWidget { } }, child: const BodyMedium( - text: 'Obtain Password', fontWeight: FontWeight.bold, fontColor: Colors.white, diff --git a/lib/features/devices/view/widgets/smart_door/offline_timeLimit_password_page.dart b/lib/features/devices/view/widgets/smart_door/offline_timeLimit_password_page.dart index bc21c27..9cb26da 100644 --- a/lib/features/devices/view/widgets/smart_door/offline_timeLimit_password_page.dart +++ b/lib/features/devices/view/widgets/smart_door/offline_timeLimit_password_page.dart @@ -6,7 +6,6 @@ import 'package:syncrow_app/features/devices/bloc/smart_door_bloc/smart_door_blo import 'package:syncrow_app/features/devices/bloc/smart_door_bloc/smart_door_event.dart'; import 'package:syncrow_app/features/devices/bloc/smart_door_bloc/smart_door_state.dart'; import 'package:syncrow_app/features/devices/view/widgets/smart_door/repeat_widget.dart'; -import 'package:syncrow_app/features/shared_widgets/default_button.dart'; import 'package:syncrow_app/features/shared_widgets/default_container.dart'; import 'package:syncrow_app/features/shared_widgets/default_scaffold.dart'; import 'package:syncrow_app/features/shared_widgets/door_lock_button.dart'; @@ -26,7 +25,6 @@ class CreateOfflineTimeLimitPasswordPage extends StatelessWidget { return BlocProvider( create: (BuildContext context) => SmartDoorBloc(deviceId: deviceId!), child: BlocConsumer( - listener: (context, state) { if (state is FailedState) { ScaffoldMessenger.of(context).showSnackBar( diff --git a/lib/services/api/devices_api.dart b/lib/services/api/devices_api.dart index 2e98690..18dabc5 100644 --- a/lib/services/api/devices_api.dart +++ b/lib/services/api/devices_api.dart @@ -174,7 +174,6 @@ class DevicesAPI { path: ApiEndpoints.getOneTimeTemporaryPassword.replaceAll('{doorLockUuid}', deviceId), showServerMessage: false, expectedResponseModel: (json) { - log('==============$json'); return json; }, ); @@ -186,7 +185,6 @@ class DevicesAPI { path: ApiEndpoints.getMultipleTimeTemporaryPassword.replaceAll('{doorLockUuid}', deviceId), showServerMessage: false, expectedResponseModel: (json) { - print('00000000$json'); return json; }, ); @@ -226,7 +224,6 @@ class DevicesAPI { path: ApiEndpoints.addOneTimeTemporaryPassword.replaceAll('{doorLockUuid}', deviceId), showServerMessage: false, expectedResponseModel: (json) { - print('generateOneTimePassword=${json}'); return json; }, );