upgrade: color

This commit is contained in:
guozhigq
2024-06-04 23:59:23 +08:00
parent 34a6e1f79f
commit 41e491daef
20 changed files with 35 additions and 33 deletions

View File

@ -19,7 +19,7 @@ Widget addWidget(item, context, type, {floor = 1}) {
};
Color bgColor = floor == 1
? Theme.of(context).dividerColor.withOpacity(0.08)
: Theme.of(context).colorScheme.background;
: Theme.of(context).colorScheme.surface;
switch (type) {
case 'ADDITIONAL_TYPE_UGC':
// 转发的投稿