Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

Show mobile resource source in grid

yoma9c3206778a78
diff --git a/apps/mobile/src/screens/WorkspaceScreen.tsx b/apps/mobile/src/screens/WorkspaceScreen.tsx
index fab5ce9e..87b05c3d 100644
--- a/apps/mobile/src/screens/WorkspaceScreen.tsx
+++ b/apps/mobile/src/screens/WorkspaceScreen.tsx
@@ -3291,9 +3291,14 @@ const ResourceCard = ({
{resource.filename || resource.id}
</Text>
{layout === "grid" ? (
- <Text numberOfLines={1} style={styles.panelLabel}>
- {formatBytes(resource.byteSize)} · {resource.mimeType?.split("/")[1] || resource.kind}
- </Text>
+ <>
+ <Text numberOfLines={1} style={styles.panelLabel}>
+ {formatBytes(resource.byteSize)} · {resource.mimeType?.split("/")[1] || resource.kind}
+ </Text>
+ <Text numberOfLines={1} style={styles.panelLabel}>
+ 来源:{source}
+ </Text>
+ </>
) : (
<>
<Text numberOfLines={1} style={styles.panelLabel}>