mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-26 12:20:17 +08:00
cache live stream pref
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user