custom player/max volume

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-06-08 17:28:32 +08:00
parent e7efba6843
commit 7725b15f0b
20 changed files with 291 additions and 145 deletions

View File

@@ -521,4 +521,10 @@ abstract final class Pref {
static int get angleDegrees =>
_setting.get(SettingBoxKey.angleDegrees, defaultValue: 30);
static double get playerVolume => // mobile
_setting.get(SettingBoxKey.playerVolume, defaultValue: 100.0);
static double get maxVolume => // desktop
_setting.get(SettingBoxKey.maxVolume, defaultValue: 2.0);
}