diff --git a/lib/pages/dynamics/detail/view.dart b/lib/pages/dynamics/detail/view.dart index ce8f51091..6690952d1 100644 --- a/lib/pages/dynamics/detail/view.dart +++ b/lib/pages/dynamics/detail/view.dart @@ -119,9 +119,14 @@ class _DynamicDetailPageState extends State EasyThrottle.throttle('replyReply', const Duration(milliseconds: 500), () { int oid = replyItem.oid.toInt(); int rpid = GlobalData().grpcReply ? replyItem.id.toInt() : replyItem.rpid; - Widget replyReplyPage() => Scaffold( + Widget replyReplyPage([bool automaticallyImplyLeading = true]) => + Scaffold( resizeToAvoidBottomInset: false, - appBar: AppBar(title: Text('评论详情')), + appBar: AppBar( + title: Text('评论详情'), + titleSpacing: automaticallyImplyLeading ? null : 12, + automaticallyImplyLeading: automaticallyImplyLeading, + ), body: VideoReplyReplyPanel( id: id, oid: oid, @@ -141,7 +146,7 @@ class _DynamicDetailPageState extends State (context) => MediaQuery.removePadding( context: context, removeLeft: true, - child: replyReplyPage(), + child: replyReplyPage(false), ), ); } else { diff --git a/lib/pages/html/view.dart b/lib/pages/html/view.dart index 6ccce4093..27df1dd3f 100644 --- a/lib/pages/html/view.dart +++ b/lib/pages/html/view.dart @@ -109,10 +109,13 @@ class _HtmlRenderPageState extends State EasyThrottle.throttle('replyReply', const Duration(milliseconds: 500), () { int oid = replyItem.oid.toInt(); int rpid = GlobalData().grpcReply ? replyItem.id.toInt() : replyItem.rpid; - Widget replyReplyPage() => Scaffold( + Widget replyReplyPage([bool automaticallyImplyLeading = true]) => + Scaffold( resizeToAvoidBottomInset: false, appBar: AppBar( title: Text('评论详情'), + titleSpacing: automaticallyImplyLeading ? null : 12, + automaticallyImplyLeading: automaticallyImplyLeading, ), body: VideoReplyReplyPanel( id: id, @@ -133,7 +136,7 @@ class _HtmlRenderPageState extends State (context) => MediaQuery.removePadding( context: context, removeLeft: true, - child: replyReplyPage(), + child: replyReplyPage(false), ), ); } else {