mirror of
https://github.com/foss42/apidash.git
synced 2025-09-25 16:15:25 +08:00
Hide Code Pane when sending request
This commit is contained in:
@ -182,6 +182,9 @@ class _SendRequestButtonState extends ConsumerState<SendRequestButton> {
|
|||||||
ref
|
ref
|
||||||
.read(sentRequestIdStateProvider.notifier)
|
.read(sentRequestIdStateProvider.notifier)
|
||||||
.update((state) => activeId);
|
.update((state) => activeId);
|
||||||
|
ref
|
||||||
|
.read(codePaneVisibleStateProvider.notifier)
|
||||||
|
.update((state) => false);
|
||||||
await Future.delayed(
|
await Future.delayed(
|
||||||
const Duration(seconds: 1),
|
const Duration(seconds: 1),
|
||||||
() async {
|
() async {
|
||||||
|
Reference in New Issue
Block a user