Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

bug fixed

daniel31x132cfa0768cbe0
diff --git a/apps/mobile/components/ActionSheets/EditLinkSheet.tsx b/apps/mobile/components/ActionSheets/EditLinkSheet.tsx
index 8e5734b8..6f7967de 100644
--- a/apps/mobile/components/ActionSheets/EditLinkSheet.tsx
+++ b/apps/mobile/components/ActionSheets/EditLinkSheet.tsx
@@ -235,14 +235,16 @@ const Main = (props: SheetProps<"edit-link-sheet">) => {
name: newBanner.fileName || "banner.jpg",
type: "image/jpeg",
},
+ isPreview: true,
})
.catch(() => null);
if (uploaded) {
- await Promise.all([
- seedFormatCache(link.id, "preview", newBanner.uri),
- seedFormatCache(link.id, "jpeg", newBanner.uri),
- ]).catch(() => {});
+ await seedFormatCache(
+ link.id,
+ "preview",
+ newBanner.uri
+ ).catch(() => {});
}
}
diff --git a/apps/web/components/LinkDetails.tsx b/apps/web/components/LinkDetails.tsx
index 94f858e2..f0ab4531 100644
--- a/apps/web/components/LinkDetails.tsx
+++ b/apps/web/components/LinkDetails.tsx
@@ -206,6 +206,7 @@ export default function LinkDetails({
{
linkId: link.id as number,
file,
+ isPreview: true,
},
{
onSettled: (data, error) => {