mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: color scheme
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -55,7 +55,7 @@ class GStorage {
|
||||
static List<Color> get blockColor {
|
||||
List list = setting.get(
|
||||
SettingBoxKey.blockColor,
|
||||
defaultValue: List.filled(SegmentType.values.length, ''),
|
||||
defaultValue: List.generate(SegmentType.values.length, (_) => ''),
|
||||
);
|
||||
return SegmentType.values
|
||||
.map((item) => list[item.index].isNotEmpty
|
||||
@@ -94,7 +94,7 @@ class GStorage {
|
||||
setting.get(SettingBoxKey.dynamicPeriod, defaultValue: 5);
|
||||
|
||||
static int get schemeVariant =>
|
||||
setting.get(SettingBoxKey.schemeVariant, defaultValue: 0);
|
||||
setting.get(SettingBoxKey.schemeVariant, defaultValue: 10);
|
||||
|
||||
static double get danmakuFontScaleFS =>
|
||||
setting.get(SettingBoxKey.danmakuFontScaleFS, defaultValue: 1.2);
|
||||
|
||||
Reference in New Issue
Block a user