From bf0b9f55e5d86427dff9cdccba214ca330c53d10 Mon Sep 17 00:00:00 2001 From: wukko Date: Wed, 5 Mar 2025 22:04:50 +0600 Subject: [PATCH] web/Omnibox: add haptic feedback to the paste button --- web/src/components/save/Omnibox.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/components/save/Omnibox.svelte b/web/src/components/save/Omnibox.svelte index c5c1de0e..c9a07167 100644 --- a/web/src/components/save/Omnibox.svelte +++ b/web/src/components/save/Omnibox.svelte @@ -10,6 +10,7 @@ import dialogs from "$lib/state/dialogs"; import { link } from "$lib/state/omnibox"; + import { hapticSwitch } from "$lib/haptics"; import { updateSetting } from "$lib/state/settings"; import { savingHandler } from "$lib/api/saving-handler"; import { pasteLinkFromClipboard } from "$lib/clipboard"; @@ -66,6 +67,8 @@ return; } + hapticSwitch(); + const pastedData = await pasteLinkFromClipboard(); if (!pastedData) return;