diff --git a/lib/pages/audio/view.dart b/lib/pages/audio/view.dart index baab0ed6e..9377c087b 100644 --- a/lib/pages/audio/view.dart +++ b/lib/pages/audio/view.dart @@ -799,7 +799,7 @@ class _AudioPageState extends State { segments: _controller.segmentProgressList, ); } - return const SizedBox(); + return const SizedBox.shrink(); }, ), ), diff --git a/lib/plugin/pl_player/controller.dart b/lib/plugin/pl_player/controller.dart index e846982a0..4b82de3ac 100644 --- a/lib/plugin/pl_player/controller.dart +++ b/lib/plugin/pl_player/controller.dart @@ -1641,7 +1641,7 @@ class PlPlayerController with BlockConfigMixin { void setPlayRepeat(PlayRepeat type) { playRepeat = type; - if (!Pref.tempPlayerConf) video.put(VideoBoxKey.playRepeat, type.index); + if (!tempPlayerConf) video.put(VideoBoxKey.playRepeat, type.index); } void putSubtitleSettings() {