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

View File

@@ -27,7 +27,8 @@ class _MyReplyState extends State<MyReply> with DynMixin {
@override @override
void initState() { void initState() {
super.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 @override