Skip to content

Commit d63da3a

Browse files
authored
fix: resolve current episode highlight color and focus clash (#499)
- Prioritize active focus highlights over the next-up episode card border. - Style the next-up episode border using AppColorScheme.onSurface (cyan in Neon Pulse, white in Moonfin) with a thicker width of 2.5. - Update preference migration keys in unit tests from v1 to v2 to align with main branch implementation. Co-authored-by: mattsigal <mattsigal@users.noreply.github.com>
1 parent a615cb6 commit d63da3a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

lib/ui/screens/detail/item_detail_screen.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9044,18 +9044,18 @@ class _EpisodeListCardState extends State<_EpisodeListCard>
90449044
width: widget.isMobile ? 180.0 : 220.0 * desktopScale,
90459045
decoration: BoxDecoration(
90469046
borderRadius: BorderRadius.circular(8),
9047-
border: widget.isCurrent
9047+
border: showFocusBorder
90489048
? Border.fromBorderSide(
90499049
ThemeRegistry.active.borders.focusBorder.copyWith(
9050-
color: AppColorScheme.accent,
9051-
width: 2,
9050+
color: isNeon ? AppColorScheme.accent : focusColor,
9051+
width: 1.5,
90529052
),
90539053
)
9054-
: showFocusBorder
9054+
: widget.isCurrent
90559055
? Border.fromBorderSide(
90569056
ThemeRegistry.active.borders.focusBorder.copyWith(
9057-
color: isNeon ? AppColorScheme.accent : focusColor,
9058-
width: 1.5,
9057+
color: AppColorScheme.onSurface,
9058+
width: 2.5,
90599059
),
90609060
)
90619061
: null,

0 commit comments

Comments
 (0)