feat(player): 右侧互动栏图标按参考图替换并放大

This commit is contained in:
Zhou Weidong committed 2026-10-21 10:52:14 +08:00
1 parent e6a31a60df
commit 4b1aea29c7
5 files changed
+128 -24

No files matched your search

+6 -5
View File
@@ -141,13 +141,13 @@ class PlayerPlaybackOverlay extends StatelessWidget {
final compact = MediaQuery.sizeOf(context).height < 700;
return Positioned(
right: AppDimens.spaceMd,
top: MediaQuery.sizeOf(context).height * (compact ? 0.42 : 0.55),
top: MediaQuery.sizeOf(context).height * (compact ? 0.30 : 0.43),
child: InteractionRail(
key: const Key('player-interaction-rail'),
items: [
InteractionRailItem(
key: const Key('player-rail-save'),
icon: Icons.star_border_rounded,
icon: Icons.star_rounded,
activeIcon: Icons.star_rounded,
label: data.l10n.favorite,
count: data.favoriteCount,
@@ -166,7 +166,7 @@ class PlayerPlaybackOverlay extends StatelessWidget {
),
InteractionRailItem(
key: const Key('player-rail-like'),
icon: Icons.favorite_border_rounded,
icon: Icons.favorite_rounded,
activeIcon: Icons.favorite_rounded,
label: data.l10n.like,
count: data.likeCount,
@@ -176,9 +176,10 @@ class PlayerPlaybackOverlay extends StatelessWidget {
),
InteractionRailItem(
key: const Key('player-rail-share'),
icon: Icons.ios_share_rounded,
activeIcon: Icons.ios_share_rounded,
icon: Icons.reply_rounded,
activeIcon: Icons.reply_rounded,
label: data.l10n.share,
mirrorIcon: true,
onTap: actions.onShare,
),
],