Skip to content

Commit

Permalink
add in donate button again
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseduffield committed Jun 29, 2019
1 parent dcb8b33 commit c3ec4b1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/gui/layout.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package gui

import (
"github.com/fatih/color"
"github.com/jesseduffield/gocui"
"github.com/jesseduffield/lazydocker/pkg/utils"
)
Expand Down Expand Up @@ -68,6 +69,10 @@ func (gui *Gui) layout(g *gocui.Gui) error {
width, height := g.Size()

information := gui.Config.Version
if gui.g.Mouse {
donate := color.New(color.FgMagenta, color.Underline).Sprint(gui.Tr.Donate)
information = donate + " " + information
}

minimumHeight := 9
minimumWidth := 10
Expand Down

0 comments on commit c3ec4b1

Please sign in to comment.