Skip to content

Commit

Permalink
Removed comments from the code
Browse files Browse the repository at this point in the history
  • Loading branch information
anveshthakur committed Jul 16, 2024
1 parent cf72ef0 commit dccfeef
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions core/layout/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,6 @@ func Layout(version string) {
}
} else if authForm.HasFocus(){
if (authForm.GetButton(authForm.GetButtonCount() - 1).HasFocus()){
// have to check if there is a form item else transfer it to button
if headersForm.GetFormItemCount() == 0{
app.SetFocus(headersForm.GetButton(0))
}else{
Expand Down Expand Up @@ -712,12 +711,4 @@ func Layout(version string) {
panic(err)
}
}
}

// AddItem(requestForm, 0, 1, false).
// AddItem(authForm, 20, 1, false).
// AddItem(headersForm, 15, 1, false), 0, 1, false).
// AddItem(tview.NewFlex().SetDirection(tview.FlexRow).
// AddItem(responseView, 0, 3, false).
// AddItem(statusView, 7, 1, false), 0, 2, false).
// AddItem(tview.NewBox().SetBorder(true), 0, 0, false)
}

0 comments on commit dccfeef

Please sign in to comment.