Skip to content

Commit fe168e6

Browse files
authored
schedules: change divider color to primary (#140)
1 parent e9514d1 commit fe168e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/src/schedules/presentations/schedule_page.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ class _SchedulePageState extends ConsumerState<SchedulePage> {
5151
final day = schedule.days[index];
5252
final isCurrentDay = plan.bookmark.dayIndex == index;
5353
final isTargetDay = todayTargetIndex == index;
54-
final dividerColor = isCurrentDay ? Colors.blue : badgeColor;
54+
final dividerColor =
55+
isCurrentDay ? Theme.of(context).colorScheme.primary : badgeColor;
5556
final remainingDays = planNotifier
5657
.getRemainingDays(Bookmark(dayIndex: index, sectionIndex: 0));
5758
final date = plan.withTargetDate && remainingDays != null

0 commit comments

Comments
 (0)