fix: PBadge stack error

This commit is contained in:
guozhigq
2024-12-09 22:42:26 +08:00
parent 54efb91621
commit d55ffd8ec9

View File

@ -276,7 +276,7 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
WidgetSpan( WidgetSpan(
child: Visibility( child: Visibility(
visible: widget.videoDetail!.copyright == 2, visible: widget.videoDetail!.copyright == 2,
child: const PBadge(text: '转载', type: 'color'), child: const PBadge(text: '转载', type: 'color', stack: 'relative'),
), ),
), ),
const TextSpan(text: ' '), const TextSpan(text: ' '),