Skip to content

Commit

Permalink
Fix static warning
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Jan 14, 2024
1 parent 618d413 commit 75132c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/ui/menu.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package ui

import (
"fmt"
"image/color"
"os"
"sort"
Expand Down Expand Up @@ -64,7 +63,7 @@ func (w *widgetPanel) askLogout() {
win.Close()
})

header := widget.NewRichTextFromMarkdown(fmt.Sprintf("### Log out"))
header := widget.NewRichTextFromMarkdown("### Log out")
header.Truncation = fyne.TextTruncateEllipsis
bottomPad := canvas.NewRectangle(color.Transparent)
bottomPad.SetMinSize(fyne.NewSquareSize(10))
Expand Down

0 comments on commit 75132c0

Please sign in to comment.