diff --git a/package-lock.json b/package-lock.json index ad6459b..7114705 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6435,11 +6435,6 @@ "to-regex": "^3.0.2" } }, - "micromodal": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/micromodal/-/micromodal-0.4.2.tgz", - "integrity": "sha512-tL8Z6Vi72haNUNlkhLjJJv1Q16eqUWMPAGT4RF7mwDM5DNyJXC67Yj8jw/yVgGYdhnCEBBf3X5JM3d/MpXSEKg==" - }, "miller-rabin": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", diff --git a/package.json b/package.json index 5db3c6d..78bf207 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ "date-fns": "^2.9.0", "get-urls": "^9.2.0", "iter-tools": "^7.0.0-rc.0", - "micromodal": "^0.4.2", "route-parser": "0.0.5", "svelte-pipeable-store": "^1.0.3", "svelte-portal": "^0.1.0", diff --git a/src/components/ContextMenu.svelte b/src/components/ContextMenu.svelte index bf64801..359a2c4 100644 --- a/src/components/ContextMenu.svelte +++ b/src/components/ContextMenu.svelte @@ -1,61 +1,54 @@ - openShare()}>Share this song -Link to toot -Link to media + showModal()}>Share this song +Link to toot +Link to media - - closeModal()}> + {#if open} + + hideModal()}> - - closeModal()}> - Share this song - - - - - - active big player {isBigPlayer} + + hideModal()}> + Share this song + + + + + + active big player + + copyUrl()}>copy - copyUrl()}>copy - + {/if} \ No newline at end of file diff --git a/src/components/Controls.svelte b/src/components/Controls.svelte index 8f6ef59..5ec2d65 100644 --- a/src/components/Controls.svelte +++ b/src/components/Controls.svelte @@ -28,7 +28,7 @@ {#if $current} - + {/if} diff --git a/src/components/Queue.svelte b/src/components/Queue.svelte index c161b5f..ce68166 100644 --- a/src/components/Queue.svelte +++ b/src/components/Queue.svelte @@ -17,7 +17,7 @@ - + {/if} @@ -39,7 +39,7 @@ - +