fix: 返回上页停止播放
This commit is contained in:
@ -540,7 +540,10 @@ class PlPlayerController {
|
||||
|
||||
/// 音量
|
||||
Future<void> getCurrentVolume() async {
|
||||
_currentVolume.value = await VolumeController().getVolume();
|
||||
// mac try...catch
|
||||
try {
|
||||
_currentVolume.value = await VolumeController().getVolume();
|
||||
} catch (_) {}
|
||||
}
|
||||
|
||||
Future<void> setVolume(double volumeNew,
|
||||
|
Reference in New Issue
Block a user