mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 18:57:05 +08:00
chore: remove logging in EditAuthType
This commit is contained in:
@@ -430,6 +430,7 @@ class CollectionStateNotifier
|
|||||||
: (state?[id]?.copyWith(httpResponseModel: null))?.toJson(),
|
: (state?[id]?.copyWith(httpResponseModel: null))?.toJson(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
await hiveHandler.removeUnused();
|
await hiveHandler.removeUnused();
|
||||||
ref.read(saveDataStateProvider.notifier).state = false;
|
ref.read(saveDataStateProvider.notifier).state = false;
|
||||||
ref.read(hasUnsavedChangesProvider.notifier).state = false;
|
ref.read(hasUnsavedChangesProvider.notifier).state = false;
|
||||||
|
|||||||
@@ -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/api_key_auth_fields.dart';
|
||||||
import 'package:apidash/screens/common_widgets/auth/basic_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';
|
import 'package:apidash/screens/common_widgets/auth/bearer_auth_fields.dart';
|
||||||
@@ -26,11 +24,9 @@ class EditAuthType extends ConsumerWidget {
|
|||||||
final APIAuthType currentAuthType;
|
final APIAuthType currentAuthType;
|
||||||
|
|
||||||
if (authModel != null) {
|
if (authModel != null) {
|
||||||
log("Got Auth Model");
|
|
||||||
currentAuthData = authModel;
|
currentAuthData = authModel;
|
||||||
currentAuthType = authModel!.type;
|
currentAuthType = authModel!.type;
|
||||||
} else {
|
} else {
|
||||||
log("Using Provider");
|
|
||||||
final selectedRequest = ref.read(selectedRequestModelProvider);
|
final selectedRequest = ref.read(selectedRequestModelProvider);
|
||||||
if (selectedRequest == null) {
|
if (selectedRequest == null) {
|
||||||
return const SizedBox.shrink();
|
return const SizedBox.shrink();
|
||||||
|
|||||||
Reference in New Issue
Block a user