diff --git a/lib/screens/item/widgets/item_screen_background.dart b/lib/screens/item/widgets/item_screen_background.dart index 3fa22feb..6ba211b9 100644 --- a/lib/screens/item/widgets/item_screen_background.dart +++ b/lib/screens/item/widgets/item_screen_background.dart @@ -77,13 +77,13 @@ class _ItemScreenBackgroundState extends State { previous.maxLevel != current.maxLevel || previous.status != current.status, builder: (BuildContext context, CommentsState state) { - if (!_isVisible || state.status == CommentsStatus.inProgress) { + if (!_isVisible || state.comments.isEmpty) { return const SizedBox.shrink(); } return FadeIn( child: Stack( children: [ - if (widget.shouldShowRootLevelLine && state.comments.isNotEmpty) + if (widget.shouldShowRootLevelLine) Padding( padding: EdgeInsets.zero, child: SizedBox(