remove some outdated todo comments
This commit is contained in:
@@ -249,7 +249,6 @@ func NewPlaylistPageHeader(page *PlaylistPage) *PlaylistPageHeader {
|
|||||||
a.page.pm.LoadTracks(a.page.tracks, false, false)
|
a.page.pm.LoadTracks(a.page.tracks, false, false)
|
||||||
a.page.pm.PlayFromBeginning()
|
a.page.pm.PlayFromBeginning()
|
||||||
})
|
})
|
||||||
// TODO: find way to pad shuffle svg rather than using a space in the label string
|
|
||||||
shuffleBtn := widget.NewButtonWithIcon("Shuffle", myTheme.ShuffleIcon, func() {
|
shuffleBtn := widget.NewButtonWithIcon("Shuffle", myTheme.ShuffleIcon, func() {
|
||||||
a.page.pm.LoadTracks(a.page.tracks, false /*append*/, true /*shuffle*/)
|
a.page.pm.LoadTracks(a.page.tracks, false /*append*/, true /*shuffle*/)
|
||||||
a.page.pm.PlayFromBeginning()
|
a.page.pm.PlayFromBeginning()
|
||||||
|
|||||||
@@ -366,8 +366,6 @@ func (c *Controller) DoConnectToServerWorkflow(server *backend.ServerConfig) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (m *Controller) PromptForLoginAndConnect() {
|
func (m *Controller) PromptForLoginAndConnect() {
|
||||||
// TODO: this will need to be rewritten a bit when we support multi servers
|
|
||||||
// need to make sure the intended server is first in the list passed to NewLoginDialog
|
|
||||||
d := dialogs.NewLoginDialog(m.App.Config.Servers, m.App.ServerManager.GetServerPassword)
|
d := dialogs.NewLoginDialog(m.App.Config.Servers, m.App.ServerManager.GetServerPassword)
|
||||||
pop := widget.NewModalPopUp(d, m.MainWindow.Canvas())
|
pop := widget.NewModalPopUp(d, m.MainWindow.Canvas())
|
||||||
d.OnSubmit = func(server *backend.ServerConfig, password string) {
|
d.OnSubmit = func(server *backend.ServerConfig, password string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user