Replace CurrentSideContext() with Context().CurrentSide()

This commit is contained in:
Stefan Haller 2024-08-08 10:29:36 +02:00
parent 7f935c1ea8
commit df3afb1b89
8 changed files with 7 additions and 12 deletions

View file

@ -70,7 +70,7 @@ func (self *DiffHelper) RenderDiff() error {
// which becomes an option when you bring up the diff menu, but when you're just
// flicking through branches it will be using the local branch name.
func (self *DiffHelper) CurrentDiffTerminals() []string {
c := self.c.CurrentSideContext()
c := self.c.Context().CurrentSide()
if c.GetKey() == "" {
return nil