This commit is contained in:
Moustapha Kodjo Amadou 2025-11-11 15:14:32 +01:00
parent 1f21a75762
commit beedb6e3b9

View file

@ -38,6 +38,17 @@ class ChapterListTileWidget extends ConsumerWidget {
onLongPress: () => _handleInteraction(ref),
onSecondaryTap: () => _handleInteraction(ref),
child: ListTile(
minLeadingWidth: 3,
leading: Container(
width: 3,
height: 25,
decoration: BoxDecoration(
color: chapter.isRead!
? Colors.grey.withValues(alpha: 0.3)
: context.primaryColor,
borderRadius: BorderRadius.circular(5),
),
),
tileColor: (chapter.isFiller ?? false)
? context.primaryColor.withValues(alpha: 0.15)
: null,
@ -53,17 +64,6 @@ class ChapterListTileWidget extends ConsumerWidget {
title: Row(
crossAxisAlignment: CrossAxisAlignment.end,
children: [
Container(
width: 4,
height: 4,
decoration: BoxDecoration(
color: chapter.isRead!
? Colors.grey.withValues(alpha: 0.3)
: context.primaryColor,
borderRadius: BorderRadius.circular(2),
),
),
const SizedBox(width: 12),
if (chapter.thumbnailUrl != null)
_thumbnailPreview(context, chapter.thumbnailUrl),
chapter.isBookmarked!
@ -88,7 +88,6 @@ class ChapterListTileWidget extends ConsumerWidget {
),
subtitle: Row(
children: [
const SizedBox(width: 16),
if (chapter.isFiller ?? false)
Row(
children: [