opt reply item

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-10 20:17:15 +08:00
parent 3655c31a48
commit f4d3ec39a0
45 changed files with 71 additions and 74 deletions

View File

@@ -595,7 +595,7 @@ class _ArticlePageState extends State<ArticlePage>
return Container(
alignment: Alignment.center,
margin: EdgeInsets.only(
bottom: MediaQuery.of(context).padding.bottom),
bottom: MediaQuery.paddingOf(context).bottom),
height: 125,
child: Text(
_articleCtr.isEnd ? '没有更多了' : '加载中...',
@@ -608,7 +608,7 @@ class _ArticlePageState extends State<ArticlePage>
} else {
return ReplyItemGrpc(
replyItem: response[index],
replyLevel: '1',
replyLevel: 1,
replyReply: (replyItem, id) =>
replyReply(context, replyItem, id),
onReply: () => _articleCtr.onReply(
@@ -827,7 +827,7 @@ class _ArticlePageState extends State<ArticlePage>
child: Padding(
padding: EdgeInsets.only(
right: 14,
bottom: MediaQuery.of(context).padding.bottom + 14,
bottom: MediaQuery.paddingOf(context).bottom + 14,
),
child: button(),
),
@@ -872,7 +872,7 @@ class _ArticlePageState extends State<ArticlePage>
bottom: 14 +
(_articleCtr.stats.value != null
? 0
: MediaQuery.of(context).padding.bottom),
: MediaQuery.paddingOf(context).bottom),
),
child: button(),
),