Revert "mod: color alpha"

This reverts commit a7ffc3b05f.
This commit is contained in:
bggRGjQaUbCoE
2024-12-22 10:42:00 +08:00
parent fe2b4f6735
commit a01d54cd80
64 changed files with 168 additions and 210 deletions

View File

@@ -220,8 +220,8 @@ class _RecommendSettingState extends State<RecommendSetting> {
...defDurations,
if (defDurations.contains(minDurationForRcmd).not)
minDurationForRcmd,
-1
]..sort(),
-1
].map((e) {
if (e == -1) {
return {'title': '自定义', 'value': e};
@@ -271,7 +271,7 @@ class _RecommendSettingState extends State<RecommendSetting> {
Get.back();
updateDuration(int.tryParse(duration) ?? 0);
},
child: const Text('确定'),
child: Text('确定'),
),
],
);
@@ -337,10 +337,8 @@ class _RecommendSettingState extends State<RecommendSetting> {
'* 设定较严苛的条件可导致推荐项数锐减或多次请求,请酌情选择。\n'
'* 后续可能会增加更多过滤条件,敬请期待。',
style: Theme.of(context).textTheme.labelSmall!.copyWith(
color: Theme.of(context)
.colorScheme
.outline
.withValues(alpha: 0.7)),
color:
Theme.of(context).colorScheme.outline.withOpacity(0.7)),
),
)
],