mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
Remove return value from ResizeCurrentPopupPanel
It always returned nil, so there's no point in returning an error.
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user