diff --git a/lib/http/api.dart b/lib/http/api.dart index 3fc761687..942414946 100644 --- a/lib/http/api.dart +++ b/lib/http/api.dart @@ -975,5 +975,6 @@ class Api { 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'; } diff --git a/lib/utils/storage_key.dart b/lib/utils/storage_key.dart index 2e0ef0b4f..4f5490449 100644 --- a/lib/utils/storage_key.dart +++ b/lib/utils/storage_key.dart @@ -2,8 +2,6 @@ abstract class SettingBoxKey { static const String btmProgressBehavior = 'btmProgressBehavior', - defaultVideoSpeed = 'defaultVideoSpeed', - autoUpgradeEnable = 'autoUpgradeEnable', defaultVideoQa = 'defaultVideoQa', defaultVideoQaCellular = 'defaultVideoQaCellular', defaultAudioQa = 'defaultAudioQa', @@ -20,7 +18,6 @@ abstract class SettingBoxKey { hardwareDecoding = 'hardwareDecoding', videoSync = 'videoSync', p1080 = 'p1080', - enableAutoBrightness = 'enableAutoBrightness', enableAutoEnter = 'enableAutoEnter', enableAutoExit = 'enableAutoExit', enableOnlineTotal = 'enableOnlineTotal', @@ -205,7 +202,6 @@ abstract class SettingBoxKey { defaultTextScale = 'textScale', dynamicColor = 'dynamicColor', customColor = 'customColor', - enableSingleRow = 'enableSingleRow', displayMode = 'displayMode', smallCardWidth = 'smallCardWidth', recommendCardWidth = 'recommendCardWidth', @@ -222,8 +218,6 @@ abstract class SettingBoxKey { dynamicBadgeMode = 'dynamicBadgeMode', msgBadgeMode = 'msgBadgeMode', msgUnReadTypeV2 = 'msgUnReadTypeV2', - hiddenSettingUnlocked = 'hiddenSettingUnlocked', - enableGradientBg = 'enableGradientBg', navBarSort = 'navBarSort', tempPlayerConf = 'tempPlayerConf', reduceLuxColor = 'reduceLuxColor', @@ -240,10 +234,7 @@ abstract class LocalCacheKey { } abstract class VideoBoxKey { - static const String videoFit = 'videoFit', - videoBrightness = 'videoBrightness', - videoSpeed = 'videoSpeed', - playRepeat = 'playRepeat', + static const String playRepeat = 'playRepeat', playSpeedDefault = 'playSpeedDefault', longPressSpeedDefault = 'longPressSpeedDefault', speedsList = 'speedsList', diff --git a/lib/utils/storage_pref.dart b/lib/utils/storage_pref.dart index eb796edab..9a066cbad 100644 --- a/lib/utils/storage_pref.dart +++ b/lib/utils/storage_pref.dart @@ -136,9 +136,6 @@ abstract class Pref { ).toList(); } - static bool get hiddenSettingUnlocked => - _setting.get(SettingBoxKey.hiddenSettingUnlocked, defaultValue: false); - static bool get feedBackEnable => _setting.get(SettingBoxKey.feedBackEnable, defaultValue: false);