1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-09-16 09:16:26 +02:00

Cleanup: remove isFocused parameter from GetContentToRender and related methods

It became unused in f3eb180f75.
This commit is contained in:
Stefan Haller
2024-10-17 09:29:36 +02:00
parent 8f3e59b78e
commit f08b3e9e1d
6 changed files with 20 additions and 20 deletions

View File

@@ -177,11 +177,11 @@ type IPatchExplorerContext interface {
GetState() *patch_exploring.State
SetState(*patch_exploring.State)
GetIncludedLineIndices() []int
RenderAndFocus(isFocused bool)
Render(isFocused bool)
RenderAndFocus()
Render()
Focus()
GetContentToRender(isFocused bool) string
NavigateTo(isFocused bool, selectedLineIdx int)
GetContentToRender() string
NavigateTo(selectedLineIdx int)
GetMutex() *deadlock.Mutex
IsPatchExplorerContext() // used for type switch
}