diff options
Diffstat (limited to 'pkg/gui/information_panel.go')
-rw-r--r-- | pkg/gui/information_panel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/information_panel.go b/pkg/gui/information_panel.go index 07e64fb42..3e317a349 100644 --- a/pkg/gui/information_panel.go +++ b/pkg/gui/information_panel.go @@ -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 } |