🐛 Optimize content render

This commit is contained in:
2024-10-19 00:32:16 +08:00
parent 5853de32a2
commit ac1b3fe15c
8 changed files with 188 additions and 177 deletions

View File

@ -526,7 +526,7 @@ class _PostHeaderDividerWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
if (item.body['description'] != null || item.body['title'] != null) {
return const Gap(8);
return const SizedBox(height: 8);
}
return const SizedBox.shrink();
}