chore: remove logging in EditAuthType

This commit is contained in:
Udhay-Adithya
2025-06-25 22:53:32 +05:30
parent 8d8940d57d
commit a17d6fdd9f
2 changed files with 1 additions and 4 deletions

View File

@@ -430,6 +430,7 @@ class CollectionStateNotifier
: (state?[id]?.copyWith(httpResponseModel: null))?.toJson(),
);
}
await hiveHandler.removeUnused();
ref.read(saveDataStateProvider.notifier).state = false;
ref.read(hasUnsavedChangesProvider.notifier).state = false;

View File

@@ -1,5 +1,3 @@
import 'dart:developer';
import 'package:apidash/screens/common_widgets/auth/api_key_auth_fields.dart';
import 'package:apidash/screens/common_widgets/auth/basic_auth_fields.dart';
import 'package:apidash/screens/common_widgets/auth/bearer_auth_fields.dart';
@@ -26,11 +24,9 @@ class EditAuthType extends ConsumerWidget {
final APIAuthType currentAuthType;
if (authModel != null) {
log("Got Auth Model");
currentAuthData = authModel;
currentAuthType = authModel!.type;
} else {
log("Using Provider");
final selectedRequest = ref.read(selectedRequestModelProvider);
if (selectedRequest == null) {
return const SizedBox.shrink();