Fix pause indicator color on some devices (#1150)

## Description
Ensure the new pause indicator from #1144 is the right color for all
devices.

### Related issues
Related to #1144

### Testing
Emulator & shield

## Screenshots
N/A

## AI or LLM usage
None
This commit is contained in:
Ray 2026-03-28 13:13:28 -04:00 committed by GitHub
parent c35b5cdd0a
commit bd21c2c46e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,6 @@ import androidx.compose.animation.core.spring
import androidx.compose.animation.core.tween
import androidx.compose.animation.fadeOut
import androidx.compose.animation.scaleIn
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.size
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
@ -21,6 +20,8 @@ import androidx.compose.ui.unit.dp
import androidx.media3.common.Player
import androidx.media3.common.util.UnstableApi
import androidx.media3.ui.compose.state.observeState
import androidx.tv.material3.Icon
import androidx.tv.material3.MaterialTheme
import com.github.damontecres.wholphin.R
import kotlinx.coroutines.delay
import kotlin.time.Duration
@ -57,9 +58,10 @@ fun PauseIndicator(
delay(50)
visible = false
}
Image(
Icon(
modifier = Modifier.size(64.dp, 64.dp),
painter = painterResource(id = R.drawable.baseline_pause_24),
tint = MaterialTheme.colorScheme.onSurface,
contentDescription = null,
)
}