mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: cdn speed test
Closes #105 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -287,6 +287,9 @@ class GStorage {
|
||||
static bool get continuePlayingPart =>
|
||||
setting.get(SettingBoxKey.continuePlayingPart, defaultValue: true);
|
||||
|
||||
static bool get cdnSpeedTest =>
|
||||
setting.get(SettingBoxKey.cdnSpeedTest, defaultValue: true);
|
||||
|
||||
static List<double> get dynamicDetailRatio => List<double>.from(setting
|
||||
.get(SettingBoxKey.dynamicDetailRatio, defaultValue: [60.0, 40.0]));
|
||||
|
||||
@@ -495,6 +498,7 @@ class SettingBoxKey {
|
||||
subtitleBgOpaticy = 'subtitleBgOpaticy',
|
||||
badCertificateCallback = 'badCertificateCallback',
|
||||
continuePlayingPart = 'continuePlayingPart',
|
||||
cdnSpeedTest = 'cdnSpeedTest',
|
||||
|
||||
// Sponsor Block
|
||||
enableSponsorBlock = 'enableSponsorBlock',
|
||||
|
||||
Reference in New Issue
Block a user