markdown and readable flag

This commit is contained in:
Fabian Freund committed 2025-01-17 14:04:03 +01:00
1 parent 4a2191b01d
commit 8c14b1f91e
18 files changed
+252 -166

No files matched your search

@@ -288,20 +288,9 @@ class SearchScreen extends HookConsumerWidget {
result.extractedContent ?? result.fullContent;
return ListTile(
title: Markdown(
shrinkWrap: true,
padding: EdgeInsets.zero,
data: result.title,
physics: const NeverScrollableScrollPhysics(),
),
title: MarkdownBody(data: result.title),
subtitle: (!headHasMatch && bodyResult != null)
? Markdown(
shrinkWrap: true,
padding: EdgeInsets.zero,
data: bodyResult,
physics:
const NeverScrollableScrollPhysics(),
)
? MarkdownBody(data: bodyResult)
: null,
);
},