Closes #1050

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-20 22:04:39 +08:00
parent e096ebcbba
commit 76f1d0129b
171 changed files with 2190 additions and 2063 deletions

View File

@@ -87,7 +87,8 @@ class _VideoReplyReplyPanelState
}
@override
Widget buildPage(ThemeData theme) {
void didChangeDependencies() {
super.didChangeDependencies();
_imageCallback = _horizontalPreview
? (imgList, index) => PageUtils.onHorizontalPreview(
_key,
@@ -96,6 +97,10 @@ class _VideoReplyReplyPanelState
index,
)
: null;
}
@override
Widget buildPage(ThemeData theme) {
return Scaffold(
key: _key,
resizeToAvoidBottomInset: false,
@@ -305,13 +310,14 @@ class _VideoReplyReplyPanelState
if (index == response!.length) {
_controller.onLoadMore();
return Container(
height: 125,
alignment: Alignment.center,
margin: EdgeInsets.only(
bottom: MediaQuery.paddingOf(context).bottom,
bottom: MediaQuery.viewPaddingOf(context).bottom,
),
height: 125,
child: Text(
_controller.isEnd ? '没有更多了' : '加载中...',
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 12,
color: theme.colorScheme.outline,