mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
increase desktop max volume
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1336,6 +1336,7 @@ class PlPlayerController {
|
||||
Timer? volumeTimer;
|
||||
final RxBool volumeInterceptEventStream = false.obs;
|
||||
|
||||
static final double maxVolume = PlatformUtils.isDesktop ? 2.0 : 1.0;
|
||||
Future<void> setVolume(double volume) async {
|
||||
if (this.volume.value != volume) {
|
||||
this.volume.value = volume;
|
||||
|
||||
Reference in New Issue
Block a user