From 808e379e02f6d91d707e58fc2c6f583caa08efa9 Mon Sep 17 00:00:00 2001 From: Damontecres Date: Tue, 28 Oct 2025 21:49:43 -0400 Subject: [PATCH] Use neutral color for buffered & remaining seek bar --- .../com/github/damontecres/wholphin/ui/playback/SeekBar.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/github/damontecres/wholphin/ui/playback/SeekBar.kt b/app/src/main/java/com/github/damontecres/wholphin/ui/playback/SeekBar.kt index 239faba9..d1db4144 100644 --- a/app/src/main/java/com/github/damontecres/wholphin/ui/playback/SeekBar.kt +++ b/app/src/main/java/com/github/damontecres/wholphin/ui/playback/SeekBar.kt @@ -155,6 +155,7 @@ fun SeekBarDisplay( enabled: Boolean = true, ) { val color = MaterialTheme.colorScheme.border + val onSurface = MaterialTheme.colorScheme.onSurface val isFocused by interactionSource.collectIsFocusedAsState() val animatedIndicatorHeight by animateDpAsState( @@ -193,14 +194,14 @@ fun SeekBarDisplay( onDraw = { val yOffset = size.height.div(2) drawLine( - color = color.copy(alpha = 0.15f), + color = onSurface.copy(alpha = 0.25f), start = Offset(x = 0f, y = yOffset), end = Offset(x = size.width, y = yOffset), strokeWidth = size.height, cap = StrokeCap.Round, ) drawLine( - color = color.copy(alpha = 0.50f), + color = onSurface.copy(alpha = .65f), start = Offset(x = 0f, y = yOffset), end = Offset(