Skip to content

Commit

Permalink
Dark Theme
Browse files Browse the repository at this point in the history
Forcing Theme to dark.
  • Loading branch information
ybenel committed Oct 13, 2023
1 parent d28e883 commit ea15c08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/ui/font_theme.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (*myTheme) Font(s fyne.TextStyle) fyne.Resource {
}

func (*myTheme) Color(n fyne.ThemeColorName, v fyne.ThemeVariant) color.Color {
return theme.DefaultTheme().Color(n, v)
return theme.DefaultTheme().Color(n, 1)
}

func (*myTheme) Icon(n fyne.ThemeIconName) fyne.Resource {
Expand Down
2 changes: 1 addition & 1 deletion pkg/ui/mainwindow.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (ui *UiApp) NewApp() error {

// RestartApp
func (ui *UiApp) RestartApp() {
executablePath, _:= os.Executable()
executablePath, _ := os.Executable()
cmd := exec.Command(executablePath)
cmd.Start()
os.Exit(0)
Expand Down

0 comments on commit ea15c08

Please sign in to comment.