mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
rename OSCommand field to os
This commit is contained in:
@ -44,9 +44,9 @@ func (gui *Gui) handleInfoClick() error {
|
||||
|
||||
// if we're not in an active mode we show the donate button
|
||||
if cx <= len(gui.c.Tr.Donate) {
|
||||
return gui.OSCommand.OpenLink(constants.Links.Donate)
|
||||
return gui.os.OpenLink(constants.Links.Donate)
|
||||
} else if cx <= len(gui.c.Tr.Donate)+1+len(gui.c.Tr.AskQuestion) {
|
||||
return gui.OSCommand.OpenLink(constants.Links.Discussions)
|
||||
return gui.os.OpenLink(constants.Links.Discussions)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user