fix(player): 改为显式清屏交互
This commit is contained in:
1 parent
f4e1a5424e
commit
f613033088
12 files changed
+158
-166
No files matched your search
@@ -26,6 +26,7 @@ class HomeFeedOverlay extends StatelessWidget {
|
||||
required this.onShare,
|
||||
required this.onEpisodes,
|
||||
required this.onDownload,
|
||||
required this.onClear,
|
||||
required this.onSearch,
|
||||
this.onPip,
|
||||
});
|
||||
@@ -41,6 +42,7 @@ class HomeFeedOverlay extends StatelessWidget {
|
||||
final VoidCallback onShare;
|
||||
final VoidCallback onEpisodes;
|
||||
final VoidCallback onDownload;
|
||||
final VoidCallback onClear;
|
||||
final VoidCallback onSearch;
|
||||
final VoidCallback? onPip;
|
||||
|
||||
@@ -96,6 +98,13 @@ class HomeFeedOverlay extends StatelessWidget {
|
||||
onPressed: onSearch,
|
||||
),
|
||||
const SizedBox(width: 8),
|
||||
_RoundIcon(
|
||||
key: const Key('home-feed-clear-screen'),
|
||||
tooltip: l10n.clearScreen,
|
||||
icon: Icons.fullscreen_rounded,
|
||||
onPressed: onClear,
|
||||
),
|
||||
const SizedBox(width: 8),
|
||||
_RoundIcon(
|
||||
key: const Key('home-feed-more'),
|
||||
tooltip: l10n.more,
|
||||
|
||||
Reference in new issue
Block a user