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:
@@ -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',
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user