💄 Adjust post detail screen

This commit is contained in:
2026-01-02 19:57:16 +08:00
parent e2efdc4064
commit 1d99ac6441
4 changed files with 21 additions and 4 deletions

View File

@@ -30,7 +30,6 @@ class MarkdownTextContent extends HookConsumerWidget {
final String content;
final bool isAutoWarp;
final TextScaler? textScaler;
final TextStyle? textStyle;
final TextStyle? linkStyle;
final EdgeInsets? linesMargin;
@@ -45,7 +44,6 @@ class MarkdownTextContent extends HookConsumerWidget {
super.key,
required this.content,
this.isAutoWarp = false,
this.textScaler,
this.textStyle,
this.linkStyle,
this.isSelectable = false,
@@ -118,7 +116,7 @@ class MarkdownTextContent extends HookConsumerWidget {
? PreConfig.darkConfig.copy(textStyle: textStyle)
: PreConfig().copy(textStyle: textStyle),
PConfig(
textStyle: textStyle ?? Theme.of(context).textTheme.bodyMedium!,
textStyle: (textStyle ?? Theme.of(context).textTheme.bodyMedium!),
),
HrConfig(height: 1, color: Theme.of(context).dividerColor),
PreConfig(