This commit is contained in:
Drew Weymouth
2025-09-28 15:44:05 -07:00
parent 47603b1610
commit 041818bb93
2 changed files with 14 additions and 2 deletions
+8 -1
View File
@@ -64,7 +64,14 @@ func newEditPlaylistDialog(playlist *mediaprovider.Playlist, showPublicCheck boo
}
})
title := widget.NewLabel(lang.L("Edit Playlist"))
var titleStr string
if playlist == nil {
titleStr = lang.L("New Playlist")
} else {
titleStr = lang.L("Edit Playlist")
}
title := widget.NewLabel(titleStr)
title.Alignment = fyne.TextAlignCenter
title.TextStyle.Bold = true
e.container = container.NewVBox(