mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-31 16:00:13 +08:00
custom player/max volume
Closes #2199 Closes #2358 Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -63,7 +63,7 @@ class PlayerFocus extends StatelessWidget {
|
||||
void _setVolume({required bool isIncrease}) {
|
||||
final volume = isIncrease
|
||||
? math.min(
|
||||
PlPlayerController.maxVolume,
|
||||
plPlayerController.maxVolume,
|
||||
plPlayerController.volume.value + 0.1,
|
||||
)
|
||||
: math.max(0.0, plPlayerController.volume.value - 0.1);
|
||||
|
||||
Reference in New Issue
Block a user