Skip to content

Commit

Permalink
Better first run setup for theme list
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Oct 14, 2024
1 parent 7652c1c commit 00f0961
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/ui/settings_ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,12 +398,9 @@ func (d *settingsUI) loadThemeScreen() fyne.CanvasObject {
list, err := storage.List(themes)
if err != nil {
fyne.LogError("Unable to list themes - missing?", err)
themeList = make([]string, 1)
} else {
for _, l := range list {
if false {
themeList = append(themeList, l.Name())
}
themeList = append(themeList, l.Name())
}
}

Expand Down

0 comments on commit 00f0961

Please sign in to comment.