delay the tab icon and label colour transition

This commit is contained in:
austinried
2026-10-04 00:29:57 +00:00
parent 14f7f4c86e
commit 76eb4a061d
@@ -713,7 +713,8 @@ private fun TabButton(
modifier: Modifier = Modifier,
) {
val selectedContent = artwork?.scheme?.onPrimary ?: MaterialTheme.colorScheme.background
val content = lerp(MaterialTheme.colorScheme.onBackground, selectedContent, progress)
val tintProgress = ((progress - 0.25f) / 0.6f).coerceIn(0f, 1f)
val content = lerp(MaterialTheme.colorScheme.onBackground, selectedContent, tintProgress)
Row(
modifier =
modifier