mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
Replace CurrentContext() with Context().Current()
This commit is contained in:
parent
8e15451117
commit
7ed94c0410
23 changed files with 24 additions and 29 deletions
|
@ -49,7 +49,7 @@ func (self *QuitActions) confirmQuitDuringUpdate() error {
|
|||
}
|
||||
|
||||
func (self *QuitActions) Escape() error {
|
||||
currentContext := self.c.CurrentContext()
|
||||
currentContext := self.c.Context().Current()
|
||||
|
||||
if listContext, ok := currentContext.(types.IListContext); ok {
|
||||
if listContext.GetList().IsSelectingRange() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue