diff --git a/web/apps/hive/src/lib/components/notification_card.svelte b/web/apps/hive/src/lib/components/notification_card.svelte index 9776eeb..e88ab75 100644 --- a/web/apps/hive/src/lib/components/notification_card.svelte +++ b/web/apps/hive/src/lib/components/notification_card.svelte @@ -2,7 +2,6 @@ import { Image, FileDown, - Video, ChevronUp, EllipsisVertical, Check, @@ -12,10 +11,9 @@ } from '@lucide/svelte'; import type { Notification, NotificationPriority } from '@beebuzz/shared/types'; import { notificationsStore, formatRelativeTime } from '$lib/stores/notifications.svelte'; - import { fetchAndCacheAttachment, isImageMime, isVideoMime } from '$lib/utils/attachmentCache'; + import { fetchAndCacheAttachment, isImageMime } from '$lib/utils/attachmentCache'; import type { CachedAttachment } from '$lib/utils/attachmentCache'; import { parseHttpsLinkSegments } from '$lib/utils/linkify'; - import { tick } from 'svelte'; const PRIORITY_HIGH: NotificationPriority = 'high'; @@ -51,13 +49,8 @@ let cachedAttachment = $state(null); let showImageModal = $state(false); - let showVideoModal = $state(false); let attachmentLoading = $state(false); let imageDialog = $state(undefined); - let videoDialog = $state(undefined); - // Why: Safari can't reliably play