mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-11 03:40:08 +08:00
opt: settings (#977)
This commit is contained in:
committed by
GitHub
parent
aaad7fc6dc
commit
34c5d6812f
@@ -201,7 +201,8 @@ class SettingBoxKey {
|
||||
msgUnReadTypeV2 = 'msgUnReadTypeV2',
|
||||
hiddenSettingUnlocked = 'hiddenSettingUnlocked',
|
||||
enableGradientBg = 'enableGradientBg',
|
||||
navBarSort = 'navBarSort';
|
||||
navBarSort = 'navBarSort',
|
||||
tempPlayerConf = 'tempPlayerConf';
|
||||
}
|
||||
|
||||
class LocalCacheKey {
|
||||
|
||||
@@ -776,4 +776,7 @@ class Pref {
|
||||
_localCache.get(LocalCacheKey.historyPause, defaultValue: false);
|
||||
|
||||
static int? get quickFavId => _setting.get(SettingBoxKey.quickFavId);
|
||||
|
||||
static bool get tempPlayerConf =>
|
||||
_setting.get(SettingBoxKey.tempPlayerConf, defaultValue: false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user