mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: color alpha
`withOpacity` -> `withValues` Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -362,14 +362,14 @@ class _SponsorBlockPageState extends State<SponsorBlockPage> {
|
||||
Widget get _divider => SliverToBoxAdapter(
|
||||
child: Divider(
|
||||
height: 1,
|
||||
color: Theme.of(context).colorScheme.outline.withOpacity(0.1),
|
||||
color: Theme.of(context).colorScheme.outline.withValues(alpha: 0.1),
|
||||
),
|
||||
);
|
||||
|
||||
Widget get _dividerL => SliverToBoxAdapter(
|
||||
child: Divider(
|
||||
thickness: 16,
|
||||
color: Theme.of(context).colorScheme.outline.withOpacity(0.1),
|
||||
color: Theme.of(context).colorScheme.outline.withValues(alpha: 0.1),
|
||||
),
|
||||
);
|
||||
|
||||
@@ -529,7 +529,8 @@ class _SponsorBlockPageState extends State<SponsorBlockPage> {
|
||||
),
|
||||
separatorBuilder: (context, index) => Divider(
|
||||
height: 1,
|
||||
color: Theme.of(context).colorScheme.outline.withOpacity(0.1),
|
||||
color:
|
||||
Theme.of(context).colorScheme.outline.withValues(alpha: 0.1),
|
||||
),
|
||||
),
|
||||
_dividerL,
|
||||
|
||||
Reference in New Issue
Block a user