pstream is dead; long live pstream taciturnaxolotl.github.io/pstream-ng/
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove useismobile bookmark

they are always hidden unless searching (or editing)

+1 -6
+1 -6
src/components/media/MediaCard.tsx
··· 6 6 import { mediaItemToId } from "@/backend/metadata/tmdb"; 7 7 import { DotList } from "@/components/text/DotList"; 8 8 import { Flare } from "@/components/utils/Flare"; 9 - import { useIsMobile } from "@/hooks/useIsMobile"; 10 9 import { useSearchQuery } from "@/hooks/useSearchQuery"; 11 10 import { MediaItem } from "@/utils/mediaTypes"; 12 11 ··· 60 59 const dotListContent = [t(`media.types.${media.type}`)]; 61 60 62 61 const [searchQuery] = useSearchQuery(); 63 - 64 - const { isMobile } = useIsMobile(); 65 62 66 63 if (media.year) { 67 64 dotListContent.push(media.year.toFixed()); ··· 149 146 ) : null} 150 147 151 148 <div 152 - className={classNames("absolute", { 153 - "bookmark-button": !isMobile, 154 - })} 149 + className="absolute bookmark-button" 155 150 onClick={(e) => e.preventDefault()} 156 151 > 157 152 <MediaBookmarkButton media={media} />