diff --git a/package-lock.json b/package-lock.json index ba5f7236..64f8bcbc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "boris", - "version": "0.6.9", + "version": "0.6.13", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "boris", - "version": "0.6.9", + "version": "0.6.13", "dependencies": { "@fortawesome/fontawesome-svg-core": "^7.1.0", "@fortawesome/free-regular-svg-icons": "^7.1.0", diff --git a/src/components/BookmarkItem.tsx b/src/components/BookmarkItem.tsx index b4e6aa9c..2c91d07f 100644 --- a/src/components/BookmarkItem.tsx +++ b/src/components/BookmarkItem.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react' -import { faBookOpen, faNewspaper, faStickyNote, faCirclePlay, faEye } from '@fortawesome/free-regular-svg-icons' -import { faGlobe } from '@fortawesome/free-solid-svg-icons' +import { faNewspaper, faStickyNote, faCirclePlay, faEye } from '@fortawesome/free-regular-svg-icons' +import { faBook, faGlobe } from '@fortawesome/free-solid-svg-icons' import { IconDefinition } from '@fortawesome/fontawesome-svg-core' import { useEventModel } from 'applesauce-react/hooks' import { Models } from 'applesauce-core' @@ -89,7 +89,7 @@ export const BookmarkItem: React.FC = ({ bookmark, index, onS if (!hasUrls) return faStickyNote // Just a text note if (firstUrlClassification?.type === 'youtube' || firstUrlClassification?.type === 'video') return faCirclePlay - return faBookOpen + return faBook } const getIconForUrlType = (url: string) => { @@ -101,7 +101,7 @@ export const BookmarkItem: React.FC = ({ bookmark, index, onS case 'image': return faEye default: - return faBookOpen + return faBook } } diff --git a/src/components/BookmarkViews/CardView.tsx b/src/components/BookmarkViews/CardView.tsx index cd92b2cf..5dcfb540 100644 --- a/src/components/BookmarkViews/CardView.tsx +++ b/src/components/BookmarkViews/CardView.tsx @@ -55,7 +55,6 @@ export const CardView: React.FC = ({ const contentLength = (bookmark.content || '').length const shouldTruncate = !expanded && contentLength > 210 const isArticle = bookmark.kind === 30023 - const isWebBookmark = bookmark.kind === 39701 // Determine which image to use (article image, instant preview, or OG image) const previewImage = articleImage || instantPreview || ogImage diff --git a/src/components/BookmarkViews/CompactView.tsx b/src/components/BookmarkViews/CompactView.tsx index c11b8e60..d7abf29e 100644 --- a/src/components/BookmarkViews/CompactView.tsx +++ b/src/components/BookmarkViews/CompactView.tsx @@ -1,6 +1,6 @@ import React from 'react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' -import { faBookmark, faUserLock } from '@fortawesome/free-solid-svg-icons' +import { faUserLock } from '@fortawesome/free-solid-svg-icons' import { IconDefinition } from '@fortawesome/fontawesome-svg-core' import { IndividualBookmark } from '../../types/bookmarks' import { formatDateCompact } from '../../utils/bookmarkUtils'