From c1a01b9a47a85f193fe3714b8662d9e0f2031767 Mon Sep 17 00:00:00 2001 From: austinried <4966622+austinried@users.noreply.github.com> Date: Tue, 20 Oct 2026 15:00:27 +0000 Subject: [PATCH] ui: put a download icon inside the progress ring --- .../kotlin/com/subtracks/ui/library/LibraryScreen.kt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/subtracks/ui/library/LibraryScreen.kt b/app/src/main/kotlin/com/subtracks/ui/library/LibraryScreen.kt index f064c91f..4e049f33 100644 --- a/app/src/main/kotlin/com/subtracks/ui/library/LibraryScreen.kt +++ b/app/src/main/kotlin/com/subtracks/ui/library/LibraryScreen.kt @@ -34,6 +34,7 @@ import androidx.compose.material.icons.rounded.Album import androidx.compose.material.icons.rounded.ArrowDownward import androidx.compose.material.icons.rounded.ArrowUpward import androidx.compose.material.icons.rounded.CloudOff +import androidx.compose.material.icons.rounded.Download import androidx.compose.material.icons.rounded.DownloadDone import androidx.compose.material.icons.rounded.FilterAltOff import androidx.compose.material.icons.rounded.Home @@ -997,7 +998,7 @@ private fun DownloadProgressIcon( ) { val description = stringResource(R.string.downloads_in_progress) Box( - modifier = Modifier.size(24.dp).semantics { contentDescription = description }, + modifier = Modifier.size(28.dp).semantics { contentDescription = description }, contentAlignment = Alignment.Center, ) { val fraction = progress.fraction @@ -1016,6 +1017,12 @@ private fun DownloadProgressIcon( modifier = Modifier.fillMaxSize(), ) } + Icon( + imageVector = Icons.Rounded.Download, + contentDescription = null, + tint = color, + modifier = Modifier.size(16.dp), + ) } }