diff --git a/apps/mobile/src/modules/ai/summary.tsx b/apps/mobile/src/modules/ai/summary.tsx index 4ee4f2926..4f313e558 100644 --- a/apps/mobile/src/modules/ai/summary.tsx +++ b/apps/mobile/src/modules/ai/summary.tsx @@ -44,7 +44,7 @@ export const AISummary: FC<{ return ( diff --git a/apps/mobile/src/store/summary/store.ts b/apps/mobile/src/store/summary/store.ts index 5db003452..232154778 100644 --- a/apps/mobile/src/store/summary/store.ts +++ b/apps/mobile/src/store/summary/store.ts @@ -103,8 +103,7 @@ class SummarySyncService { state.generatingStatus[entryId] = SummaryGeneratingStatus.Pending }) - // TODO: Use the language of the entry - const language = "en" + const language = entry.settings?.translation // Use Our AI to generate summary const summary = await apiClient.ai.summary .$get({