From 2cc537b715b64c34ac05c02f94ecb83fda26d346 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Sun, 1 Sep 2024 10:21:40 +0800 Subject: [PATCH] fix: ai conclusion vertical alignment --- lib/pages/video/detail/introduction/view.dart | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/pages/video/detail/introduction/view.dart b/lib/pages/video/detail/introduction/view.dart index 133e59ad..ac5d91cd 100644 --- a/lib/pages/video/detail/introduction/view.dart +++ b/lib/pages/video/detail/introduction/view.dart @@ -374,8 +374,10 @@ class _VideoInfoState extends State with TickerProviderStateMixin { if (enableAi) Positioned( right: 10, - top: 6, - child: Semantics( + top: 0, + bottom: 0, + child: Center( + child: Semantics( label: 'AI总结', child: GestureDetector( onTap: () async { @@ -387,7 +389,9 @@ class _VideoInfoState extends State with TickerProviderStateMixin { }, child: Image.asset('assets/images/ai.png', height: 22), - )), + ), + ), + ), ) ], ),