This commit is contained in:
rang 2025-12-01 15:34:12 +08:00
parent 1ca8e4889a
commit aad510ea45
31 changed files with 777 additions and 239 deletions

View file

@ -27,8 +27,8 @@ class PlayerExpandedDesktop extends HookConsumerWidget {
@override
Widget build(BuildContext context, WidgetRef ref) {
final session = ref.watch(sessionProvider);
if (session == null) {
final book = ref.watch(currentBookProvider);
if (book == null) {
return SizedBox.shrink();
}
@ -49,6 +49,7 @@ class PlayerExpandedDesktop extends HookConsumerWidget {
body: Padding(
padding: EdgeInsets.only(
top: AppElementSizes.paddingLarge,
right: AppElementSizes.paddingRegular,
bottom: playerMinHeight + 40,
),
child: Row(
@ -108,7 +109,18 @@ class PlayerExpandedDesktop extends HookConsumerWidget {
overflow: TextOverflow.ellipsis,
),
Expanded(
child: ChapterSelection(),
child: DecoratedBox(
decoration: BoxDecoration(
border: Border(
right: BorderSide(
color: Theme.of(context).focusColor,
width: 1.0,
style: BorderStyle.solid, // dashed 线
),
),
),
child: ChapterSelection(),
),
),
],
),