Add button to share selected songs

This commit is contained in:
Deluan 2023-01-24 16:31:58 -05:00
commit 85084cda57
6 changed files with 56 additions and 6 deletions

View file

@ -15,11 +15,12 @@ export const DOWNLOAD_MENU_SONG = 'song'
export const SHARE_MENU_OPEN = 'SHARE_MENU_OPEN'
export const SHARE_MENU_CLOSE = 'SHARE_MENU_CLOSE'
export const openShareMenu = (ids, resource, name) => ({
export const openShareMenu = (ids, resource, name, label) => ({
type: SHARE_MENU_OPEN,
ids,
resource,
name,
label,
})
export const closeShareMenu = () => ({