Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-09 11:53:46 +08:00
parent 5586d12b1f
commit 702cf988d3
2 changed files with 37 additions and 40 deletions

View File

@@ -311,10 +311,7 @@ class _DynamicSliverAppBarState extends State<DynamicSliverAppBar> {
final double effectiveCollapsedHeight =
topPadding + kToolbarHeight + bottomHeight + 1;
return MediaQuery.removePadding(
context: context,
removeBottom: true,
child: SliverPinnedHeader(
return SliverPinnedHeader(
onPerformLayout: widget.onPerformLayout,
delegate: _SliverAppBarDelegate(
leading: widget.leading,
@@ -350,7 +347,6 @@ class _DynamicSliverAppBarState extends State<DynamicSliverAppBar> {
clipBehavior: widget.clipBehavior,
actionsPadding: widget.actionsPadding,
),
),
);
}
}

View File

@@ -27,7 +27,8 @@ class _MyReplyState extends State<MyReply> with DynMixin {
@override
void initState() {
super.initState();
_replies = GStorage.reply!.values.map(ReplyInfo.fromBuffer).toList();
_replies = GStorage.reply!.values.map(ReplyInfo.fromBuffer).toList()
..sort((a, b) => b.ctime.compareTo(a.ctime)); // rpid not aligned
}
@override