cache live stream pref

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-06-14 17:43:04 +08:00
parent 1d4036ff85
commit 8a068aaac0
4 changed files with 41 additions and 1 deletions

View File

@@ -57,7 +57,8 @@ abstract final class SettingBoxKey {
enableImgMenu = 'enableImgMenu',
touchSlopH = 'touchSlopH',
floatingNavBar = 'floatingNavBar',
angleDegrees = 'angleDegrees';
angleDegrees = 'angleDegrees',
liveStream = 'liveStream';
static const String windowSize = 'windowSize',
windowPosition = 'windowPosition',

View File

@@ -553,4 +553,6 @@ abstract final class Pref {
static double get maxVolume => // desktop
_setting.get(SettingBoxKey.maxVolume, defaultValue: 2.0);
static List? get liveStream => _setting.get(SettingBoxKey.liveStream);
}