* mod: pgc episode title

* opt: ColorScheme.of

* mod: mpv api version

* opt: log handler

* opt: ext
This commit is contained in:
My-Responsitories
2026-05-15 01:59:54 +00:00
committed by dom
parent 09be4f45f0
commit fd211fa394
28 changed files with 93 additions and 179 deletions

View File

@@ -16,7 +16,7 @@ class ToolbarIconButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
final ThemeData theme = Theme.of(context);
final colorScheme = ColorScheme.of(context);
return SizedBox(
width: 36,
height: 36,
@@ -24,14 +24,14 @@ class ToolbarIconButton extends StatelessWidget {
tooltip: tooltip,
onPressed: onPressed,
icon: icon,
highlightColor: theme.colorScheme.secondaryContainer,
highlightColor: colorScheme.secondaryContainer,
color: selected
? theme.colorScheme.onSecondaryContainer
: theme.colorScheme.outline,
? colorScheme.onSecondaryContainer
: colorScheme.outline,
style: ButtonStyle(
padding: const WidgetStatePropertyAll(EdgeInsets.zero),
backgroundColor: WidgetStatePropertyAll(
selected ? theme.colorScheme.secondaryContainer : null,
selected ? colorScheme.secondaryContainer : null,
),
),
),