diff --git a/materialious/src/lib/components/settings/Interface.svelte b/materialious/src/lib/components/settings/Interface.svelte index 5431c776..7ebd6e18 100644 --- a/materialious/src/lib/components/settings/Interface.svelte +++ b/materialious/src/lib/components/settings/Interface.svelte @@ -32,6 +32,7 @@ searchHistoryStore, themeColorStore } from '../../store'; + import { addToast } from '../Toast.svelte'; let invidiousInstance = $state(get(instanceStore)); let region = $state(get(interfaceRegionStore)); @@ -401,8 +402,14 @@
{$_('layout.bookmarklet')}
{ + await Clipboard.write({ string: bookmarkletSaveToUrl() }); + addToast({ + data: { + text: $_('player.share.copiedSuccess') + } + }); + }}>{$_('copyUrl')} {/if}