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

@@ -726,7 +726,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
// child: Divider(
// indent: 12,
// endIndent: 12,
// color: Theme.of(context).dividerColor.withValues(alpha: 0.06),
// color: Theme.of(context).dividerColor.withOpacity(0.06),
// ),
// ),
// const RelatedVideoPanel(),
@@ -1112,7 +1112,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
border: Border(
bottom: BorderSide(
width: 1,
color: Theme.of(context).dividerColor.withValues(alpha: 0.1),
color: Theme.of(context).dividerColor.withOpacity(0.1),
),
),
),
@@ -1271,7 +1271,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
height: 1,
indent: 12,
endIndent: 12,
color: Theme.of(context).dividerColor.withValues(alpha: 0.06),
color: Theme.of(context).dividerColor.withOpacity(0.06),
),
),
),
@@ -1445,9 +1445,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
if (rawIndex % 2 == 1) {
return Divider(
height: 1,
color: Theme.of(context)
.dividerColor
.withValues(alpha: 0.1),
color: Theme.of(context).dividerColor.withOpacity(0.1),
);
}
int index = rawIndex ~/ 2;