Skip to content

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

fix previous fix

Predidit1a27f055e5da
diff --git a/lib/pages/player/player_item_panel.dart b/lib/pages/player/player_item_panel.dart
index 115972a5..50d6683a 100644
--- a/lib/pages/player/player_item_panel.dart
+++ b/lib/pages/player/player_item_panel.dart
@@ -927,14 +927,10 @@ class _PlayerItemPanelState extends State<PlayerItemPanel> {
widget.keyboardFocus
.requestFocus();
showModalBottomSheet(
- backgroundColor: Theme.of(context)
- .colorScheme
- .brightness ==
- Brightness.light
- ? Theme.of(context)
- .colorScheme
- .surfaceContainerHigh
- : null,
+ backgroundColor: Theme.of(
+ context)
+ .colorScheme
+ .surface,
isScrollControlled: true,
constraints: BoxConstraints(
maxHeight:
@@ -943,15 +939,18 @@ class _PlayerItemPanelState extends State<PlayerItemPanel> {
.height *
3 /
4,
- maxWidth: (Utils.isDesktop() ||
+ maxWidth: (Utils
+ .isDesktop() ||
Utils
.isTablet())
- ? MediaQuery.of(context)
+ ? MediaQuery.of(
+ context)
.size
.width *
9 /
16
- : MediaQuery.of(context)
+ : MediaQuery.of(
+ context)
.size
.width),
clipBehavior:
diff --git a/lib/pages/player/smallest_player_item_panel.dart b/lib/pages/player/smallest_player_item_panel.dart
index a85bdcb7..4ca822c9 100644
--- a/lib/pages/player/smallest_player_item_panel.dart
+++ b/lib/pages/player/smallest_player_item_panel.dart
@@ -589,12 +589,7 @@ class _SmallestPlayerItemPanelState extends State<SmallestPlayerItemPanel> {
onPressed: () {
showModalBottomSheet(
backgroundColor:
- Theme.of(context).colorScheme.brightness ==
- Brightness.light
- ? Theme.of(context)
- .colorScheme
- .surfaceContainerHigh
- : null,
+ Theme.of(context).colorScheme.surface,
isScrollControlled: true,
constraints: BoxConstraints(
maxHeight: