fix: ai conclusion vertical alignment

This commit is contained in:
bggRGjQaUbCoE
2024-09-01 10:21:40 +08:00
parent 098f5764d4
commit 2cc537b715

View File

@@ -374,8 +374,10 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
if (enableAi) if (enableAi)
Positioned( Positioned(
right: 10, right: 10,
top: 6, top: 0,
child: Semantics( bottom: 0,
child: Center(
child: Semantics(
label: 'AI总结', label: 'AI总结',
child: GestureDetector( child: GestureDetector(
onTap: () async { onTap: () async {
@@ -387,7 +389,9 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
}, },
child: child:
Image.asset('assets/images/ai.png', height: 22), Image.asset('assets/images/ai.png', height: 22),
)), ),
),
),
) )
], ],
), ),