mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
@@ -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,
|
||||||
),
|
),
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user