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

@@ -18,7 +18,7 @@ Widget addWidget(item, context, type, {floor = 1}) {
'ADDITIONAL_TYPE_COMMON': item.modules.moduleDynamic.additional.common,
};
Color bgColor = floor == 1
? Theme.of(context).dividerColor.withValues(alpha: 0.08)
? Theme.of(context).dividerColor.withOpacity(0.08)
: Theme.of(context).colorScheme.surface;
switch (type) {
case 'ADDITIONAL_TYPE_UGC':