🐛 Dozens of bug fixes

This commit is contained in:
2025-09-01 00:07:19 +08:00
parent c9b71701c8
commit f98e603e82
2 changed files with 4 additions and 2 deletions

View File

@@ -762,7 +762,9 @@ class PostBody extends ConsumerWidget {
).padding(bottom: 4), ).padding(bottom: 4),
MarkdownTextContent( MarkdownTextContent(
content: content:
item.isTruncated ? '${item.content!}...' : item.content!, item.isTruncated
? '${item.content!}...'
: item.content ?? '',
isSelectable: isTextSelectable, isSelectable: isTextSelectable,
), ),
if (translationSection != null) translationSection!, if (translationSection != null) translationSection!,

View File

@@ -25,7 +25,7 @@ class PostShuffleScreen extends HookConsumerWidget {
return cardSwiperController.dispose; return cardSwiperController.dispose;
}, []); }, []);
const kBottomControlHeight = 64.0; const kBottomControlHeight = 80.0;
return AppScaffold( return AppScaffold(
appBar: AppBar(title: const Text('postShuffle').tr()), appBar: AppBar(title: const Text('postShuffle').tr()),