Add notification when a download is completed

- fyne notication looks for the app icon to display it in the notication, so I setted the icon  in `main.go`.
- deleting points after "Download" option in grid view that I mistakenly leave it in a previous PR.
- adding the new paremeter `downloadName`

Screenshot:

Fixes #202
This commit is contained in:
natilou
2023-06-21 14:17:15 -03:00
parent 5f83c2cd95
commit d59ed11647
7 changed files with 35 additions and 14 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ func (a *PlaylistsPage) createGridView(playlists []*mediaprovider.Playlist) {
log.Printf("error loading playlist: %s", err.Error())
return
}
a.contr.ShowDownloadDialog(pl.Tracks)
a.contr.ShowDownloadDialog(pl.Tracks, pl.Name)
}()
}
}