misc: Notify user of failed sharing using a dialog

This commit is contained in:
Michael Manganiello
2024-03-03 20:45:00 -03:00
parent 9d3725cb51
commit d9bbe03e81
3 changed files with 34 additions and 20 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ func NewArtistPageHeader(page *ArtistPage) *ArtistPageHeader {
a.menuBtn.OnTapped = func() {
if pop == nil {
share := fyne.NewMenuItem("Share...", func() {
a.artistPage.contr.CreateShareURL(a.artistID)
a.artistPage.contr.ShowShareDialog(a.artistID)
})
share.Icon = myTheme.ShareIcon
menu := fyne.NewMenu("", share)