* 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 GitHub
parent 24769e144f
commit b33fdf14af
30 changed files with 99 additions and 191 deletions

View File

@@ -25,8 +25,8 @@ class ImSettingsItem extends StatelessWidget {
}
const titleStyle = TextStyle(fontSize: 14);
final theme = Theme.of(context);
final outline = theme.colorScheme.outline;
final colorScheme = ColorScheme.of(context);
final outline = colorScheme.outline;
final subtitleStyle = TextStyle(fontSize: 13, color: outline);
if (item.hasSwitch_1()) {
@@ -156,11 +156,7 @@ class ImSettingsItem extends StatelessWidget {
},
title: Text(e.text, style: titleStyle),
trailing: e.selected
? Icon(
size: 20,
Icons.check,
color: theme.colorScheme.primary,
)
? Icon(size: 20, Icons.check, color: colorScheme.primary)
: null,
);
},