mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Remove return value from ResizeCurrentPopupPanel
It always returned nil, so there's no point in returning an error.
This commit is contained in:
parent
bb01648521
commit
1d502d3245
2 changed files with 2 additions and 6 deletions
|
@ -315,7 +315,7 @@ func (self *ConfirmationHelper) getSelectedSuggestionValue() string {
|
|||
return ""
|
||||
}
|
||||
|
||||
func (self *ConfirmationHelper) ResizeCurrentPopupPanel() error {
|
||||
func (self *ConfirmationHelper) ResizeCurrentPopupPanel() {
|
||||
c := self.c.CurrentContext()
|
||||
|
||||
switch c {
|
||||
|
@ -326,8 +326,6 @@ func (self *ConfirmationHelper) ResizeCurrentPopupPanel() error {
|
|||
case self.c.Contexts().CommitMessage, self.c.Contexts().CommitDescription:
|
||||
self.ResizeCommitMessagePanels()
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (self *ConfirmationHelper) resizeMenu() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue