diff --git a/lib/screens/history/history_widgets/his_request_pane.dart b/lib/screens/history/history_widgets/his_request_pane.dart index 21855779..05266ebf 100644 --- a/lib/screens/history/history_widgets/his_request_pane.dart +++ b/lib/screens/history/history_widgets/his_request_pane.dart @@ -46,10 +46,8 @@ class HistoryRequestPane extends ConsumerWidget { .select((value) => value?.postRequestScript?.length)) ?? 0; - - final hasAuth = ref.watch(selectedHistoryRequestModelProvider.select( - (value) => - value?.authModel?.type != APIAuthType.none)); + final hasAuth = ref.watch(selectedHistoryRequestModelProvider + .select((value) => value?.authModel?.type != APIAuthType.none)); final authModel = ref.watch(selectedHistoryRequestModelProvider .select((value) => value?.authModel)); @@ -66,12 +64,14 @@ class HistoryRequestPane extends ConsumerWidget { showViewCodeButton: !isCompact, showIndicators: [ paramLength > 0, + hasAuth, headerLength > 0, hasBody, scriptsLength > 0, ], tabLabels: const [ kLabelURLParams, + kLabelAuth, kLabelHeaders, kLabelBody, kLabelScripts, diff --git a/packages/apidash_core/pubspec.yaml b/packages/apidash_core/pubspec.yaml index ca73b279..2c010a07 100644 --- a/packages/apidash_core/pubspec.yaml +++ b/packages/apidash_core/pubspec.yaml @@ -23,7 +23,6 @@ dependencies: postman: path: ../postman xml: ^6.3.0 - crypto: ^3.0.6 dev_dependencies: flutter_test: diff --git a/packages/better_networking/pubspec.yaml b/packages/better_networking/pubspec.yaml index 1f91a512..6cd11959 100644 --- a/packages/better_networking/pubspec.yaml +++ b/packages/better_networking/pubspec.yaml @@ -25,6 +25,7 @@ dependencies: json_annotation: ^4.9.0 seed: ^0.0.3 xml: ^6.3.0 + crypto: ^3.0.6 dev_dependencies: flutter_test: