Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

Commit

Permalink
Fix useless var
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom5521 committed Dec 31, 2023
1 parent 71eb069 commit e34e35f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/gui/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"time"

"fyne.io/fyne/v2"
"fyne.io/fyne/v2/canvas"
"fyne.io/fyne/v2/container"
"fyne.io/fyne/v2/dialog"
"fyne.io/fyne/v2/driver/desktop"
Expand All @@ -31,7 +30,6 @@ func (ui *ui) splash() {
drv := ui.App.Driver()
if drv, ok := drv.(desktop.Driver); ok {
splash := drv.CreateSplashWindow()
l := canvas.NewText("", fyne.CurrentApp().Settings().Theme().Color("default"))
splash.SetContent(widget.NewLabelWithStyle("Happy holidays!",
fyne.TextAlignCenter, fyne.TextStyle{Bold: true}))
splash.Show()
Expand Down

0 comments on commit e34e35f

Please sign in to comment.