Replace PushContext() with Context().Push()

This commit is contained in:
Stefan Haller 2024-08-08 10:16:56 +02:00
parent d89dc967b8
commit bd36b8a95e
31 changed files with 36 additions and 41 deletions

View file

@ -335,7 +335,7 @@ func (gui *Gui) onNewRepo(startArgs appTypes.StartArgs, contextKey types.Context
}
}
if err := gui.c.PushContext(contextToPush); err != nil {
if err := gui.c.Context().Push(contextToPush); err != nil {
return err
}