mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: block settings import #7
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -24,7 +24,7 @@ class GStorage {
|
||||
static late final Box<dynamic> video;
|
||||
|
||||
static List<Pair<SegmentType, SkipType>> get blockSettings {
|
||||
List<int> list = setting.get(
|
||||
List list = setting.get(
|
||||
SettingBoxKey.blockSettings,
|
||||
defaultValue: List.generate(SegmentType.values.length, (_) => 1),
|
||||
);
|
||||
@@ -37,7 +37,7 @@ class GStorage {
|
||||
}
|
||||
|
||||
static List<Color> get blockColor {
|
||||
List<String> list = setting.get(
|
||||
List list = setting.get(
|
||||
SettingBoxKey.blockColor,
|
||||
defaultValue: List.generate(SegmentType.values.length, (_) => ''),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user