Skip to content

Commit

Permalink
Fix: Empty AppTitle without customization file
Browse files Browse the repository at this point in the history
Signed-off-by: Knut Ahlers <[email protected]>
  • Loading branch information
Luzifer committed Aug 10, 2023
1 parent 0ef9a57 commit 4ed8866
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions customize.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@ type (
}
)

func loadCustomize(filename string) (customize, error) {
func loadCustomize(filename string) (cust customize, err error) {
if filename == "" {
// None given, take a shortcut
return customize{}, nil
cust.applyFixes()
return cust, nil
}

var cust customize

cf, err := os.Open(filename)
if err != nil {
if errors.Is(err, fs.ErrNotExist) {
Expand Down

0 comments on commit 4ed8866

Please sign in to comment.