mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
remove deprecated pref keys
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -975,5 +975,6 @@ class Api {
|
|||||||
|
|
||||||
static const String seasonStatus = '/pgc/view/web/season/user/status';
|
static const String seasonStatus = '/pgc/view/web/season/user/status';
|
||||||
|
|
||||||
static const String followeeVotes = '${HttpString.tUrl}/vote_svr/v1/vote_svr/followee_votes';
|
static const String followeeVotes =
|
||||||
|
'${HttpString.tUrl}/vote_svr/v1/vote_svr/followee_votes';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
abstract class SettingBoxKey {
|
abstract class SettingBoxKey {
|
||||||
static const String btmProgressBehavior = 'btmProgressBehavior',
|
static const String btmProgressBehavior = 'btmProgressBehavior',
|
||||||
defaultVideoSpeed = 'defaultVideoSpeed',
|
|
||||||
autoUpgradeEnable = 'autoUpgradeEnable',
|
|
||||||
defaultVideoQa = 'defaultVideoQa',
|
defaultVideoQa = 'defaultVideoQa',
|
||||||
defaultVideoQaCellular = 'defaultVideoQaCellular',
|
defaultVideoQaCellular = 'defaultVideoQaCellular',
|
||||||
defaultAudioQa = 'defaultAudioQa',
|
defaultAudioQa = 'defaultAudioQa',
|
||||||
@@ -20,7 +18,6 @@ abstract class SettingBoxKey {
|
|||||||
hardwareDecoding = 'hardwareDecoding',
|
hardwareDecoding = 'hardwareDecoding',
|
||||||
videoSync = 'videoSync',
|
videoSync = 'videoSync',
|
||||||
p1080 = 'p1080',
|
p1080 = 'p1080',
|
||||||
enableAutoBrightness = 'enableAutoBrightness',
|
|
||||||
enableAutoEnter = 'enableAutoEnter',
|
enableAutoEnter = 'enableAutoEnter',
|
||||||
enableAutoExit = 'enableAutoExit',
|
enableAutoExit = 'enableAutoExit',
|
||||||
enableOnlineTotal = 'enableOnlineTotal',
|
enableOnlineTotal = 'enableOnlineTotal',
|
||||||
@@ -205,7 +202,6 @@ abstract class SettingBoxKey {
|
|||||||
defaultTextScale = 'textScale',
|
defaultTextScale = 'textScale',
|
||||||
dynamicColor = 'dynamicColor',
|
dynamicColor = 'dynamicColor',
|
||||||
customColor = 'customColor',
|
customColor = 'customColor',
|
||||||
enableSingleRow = 'enableSingleRow',
|
|
||||||
displayMode = 'displayMode',
|
displayMode = 'displayMode',
|
||||||
smallCardWidth = 'smallCardWidth',
|
smallCardWidth = 'smallCardWidth',
|
||||||
recommendCardWidth = 'recommendCardWidth',
|
recommendCardWidth = 'recommendCardWidth',
|
||||||
@@ -222,8 +218,6 @@ abstract class SettingBoxKey {
|
|||||||
dynamicBadgeMode = 'dynamicBadgeMode',
|
dynamicBadgeMode = 'dynamicBadgeMode',
|
||||||
msgBadgeMode = 'msgBadgeMode',
|
msgBadgeMode = 'msgBadgeMode',
|
||||||
msgUnReadTypeV2 = 'msgUnReadTypeV2',
|
msgUnReadTypeV2 = 'msgUnReadTypeV2',
|
||||||
hiddenSettingUnlocked = 'hiddenSettingUnlocked',
|
|
||||||
enableGradientBg = 'enableGradientBg',
|
|
||||||
navBarSort = 'navBarSort',
|
navBarSort = 'navBarSort',
|
||||||
tempPlayerConf = 'tempPlayerConf',
|
tempPlayerConf = 'tempPlayerConf',
|
||||||
reduceLuxColor = 'reduceLuxColor',
|
reduceLuxColor = 'reduceLuxColor',
|
||||||
@@ -240,10 +234,7 @@ abstract class LocalCacheKey {
|
|||||||
}
|
}
|
||||||
|
|
||||||
abstract class VideoBoxKey {
|
abstract class VideoBoxKey {
|
||||||
static const String videoFit = 'videoFit',
|
static const String playRepeat = 'playRepeat',
|
||||||
videoBrightness = 'videoBrightness',
|
|
||||||
videoSpeed = 'videoSpeed',
|
|
||||||
playRepeat = 'playRepeat',
|
|
||||||
playSpeedDefault = 'playSpeedDefault',
|
playSpeedDefault = 'playSpeedDefault',
|
||||||
longPressSpeedDefault = 'longPressSpeedDefault',
|
longPressSpeedDefault = 'longPressSpeedDefault',
|
||||||
speedsList = 'speedsList',
|
speedsList = 'speedsList',
|
||||||
|
|||||||
@@ -136,9 +136,6 @@ abstract class Pref {
|
|||||||
).toList();
|
).toList();
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool get hiddenSettingUnlocked =>
|
|
||||||
_setting.get(SettingBoxKey.hiddenSettingUnlocked, defaultValue: false);
|
|
||||||
|
|
||||||
static bool get feedBackEnable =>
|
static bool get feedBackEnable =>
|
||||||
_setting.get(SettingBoxKey.feedBackEnable, defaultValue: false);
|
_setting.get(SettingBoxKey.feedBackEnable, defaultValue: false);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user