mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
Cleanup: remove unused method Focus from PatchExplorerContext
This commit is contained in:
parent
3f546f7269
commit
29fc46dc62
|
|
@ -94,11 +94,6 @@ func (self *PatchExplorerContext) Render() {
|
|||
self.c.Render()
|
||||
}
|
||||
|
||||
func (self *PatchExplorerContext) Focus() {
|
||||
self.FocusSelection()
|
||||
self.c.Render()
|
||||
}
|
||||
|
||||
func (self *PatchExplorerContext) setContent() {
|
||||
self.GetView().SetContent(self.GetContentToRender())
|
||||
}
|
||||
|
|
|
|||
|
|
@ -192,7 +192,6 @@ type IPatchExplorerContext interface {
|
|||
GetIncludedLineIndices() []int
|
||||
RenderAndFocus()
|
||||
Render()
|
||||
Focus()
|
||||
GetContentToRender() string
|
||||
NavigateTo(selectedLineIdx int)
|
||||
GetMutex() *deadlock.Mutex
|
||||
|
|
|
|||
Loading…
Reference in a new issue