1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Replace IsCurrentContext() with Context().IsCurrent()

This commit is contained in:
Stefan Haller
2024-08-08 10:37:05 +02:00
parent f30387e7f5
commit 94d6f4dae7
4 changed files with 2 additions and 8 deletions

View File

@ -61,7 +61,7 @@ func (self *MergeConflictsHelper) EscapeMerge() error {
// to continue the merge/rebase. In that case, we don't want to then push the
// files context over it.
// So long as both places call OnUIThread, we're fine.
if self.c.IsCurrentContext(self.c.Contexts().MergeConflicts) {
if self.c.Context().IsCurrent(self.c.Contexts().MergeConflicts) {
return self.c.Context().Push(self.c.Contexts().Files)
}
return nil