batch corrections

- PostCard: fix post.status → post.state (all posts showed Draft)
- compose: remove expo-file-system File import (not installed, Expo 54 incompatible)
- compose: fix native FormData upload pattern for React Native
- compose: add missing Bearer prefix on upload Authorization header
- posts: memoize date range and include in query key to avoid stale closures

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-16 12:24:12 +02:00
parent c7226a4ed9
commit 4a31ddfb2f
3 changed files with 18 additions and 18 deletions
@@ -129,7 +129,7 @@ export function PostCard({ post, onDelete }: PostCardProps) {
</Text>
)}
</View>
<StatusBadge status={post.status} />
<StatusBadge status={post.state} />
</View>
<Text style={[styles.content, { color: colors.foreground }]}>
{truncatedContent}