Better(?) comment nesting

This commit is contained in:
2025-03-16 21:41:38 +08:00
parent fc5a79b29b
commit 7b96013406
7 changed files with 132 additions and 8 deletions

View File

@ -138,6 +138,7 @@ class PostCommentSliverListState extends State<PostCommentSliverList> {
child: PostItem(
data: _posts[idx],
maxWidth: widget.maxWidth,
showExpandableComments: true,
onSelectAnswer: widget.parentPost.type == 'question'
? () => _selectAnswer(_posts[idx])
: null,
@ -209,6 +210,7 @@ class _PostCommentListPopupState extends State<PostCommentListPopup> {
if (ua.isAuthorized)
SliverToBoxAdapter(
child: Container(
margin: const EdgeInsets.only(bottom: 8),
height: 240,
decoration: BoxDecoration(
border: Border.symmetric(