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 3e2e78a2b8
commit 3510b6c74d
4 changed files with 41 additions and 1 deletions

View File

@@ -155,7 +155,8 @@ abstract final class SettingBoxKey {
touchSlopH = 'touchSlopH',
floatingNavBar = 'floatingNavBar',
removeSafeArea = 'removeSafeArea',
angleDegrees = 'angleDegrees';
angleDegrees = 'angleDegrees',
liveStream = 'liveStream';
static const String minimizeOnExit = 'minimizeOnExit',
windowSize = 'windowSize',

View File

@@ -1014,4 +1014,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);
}