File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
course/src/main/java/org/openedx/course/presentation Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ import androidx.compose.runtime.mutableStateOf
4040import androidx.compose.runtime.remember
4141import androidx.compose.ui.Alignment
4242import androidx.compose.ui.Modifier
43+ import androidx.compose.ui.graphics.Color
4344import androidx.compose.ui.platform.ComposeView
4445import androidx.compose.ui.platform.ViewCompositionStrategy
4546import androidx.compose.ui.res.painterResource
@@ -347,10 +348,13 @@ private fun CourseSubsectionItem(
347348 if (downloadedState == DownloadedState .DOWNLOADING || downloadedState == DownloadedState .WAITING ) {
348349 CircularProgressIndicator (
349350 modifier = Modifier .size(34 .dp),
351+ backgroundColor = Color .LightGray ,
352+ strokeWidth = 2 .dp,
350353 color = MaterialTheme .appColors.primary
351354 )
352355 }
353- IconButton (modifier = iconModifier,
356+ IconButton (
357+ modifier = iconModifier.padding(top = 2 .dp),
354358 onClick = { onDownloadClick(block) }) {
355359 Icon (
356360 imageVector = Icons .Filled .Close ,
Original file line number Diff line number Diff line change @@ -219,10 +219,13 @@ fun CourseSectionCard(
219219 if (downloadedState == DownloadedState .DOWNLOADING || downloadedState == DownloadedState .WAITING ) {
220220 CircularProgressIndicator (
221221 modifier = Modifier .size(34 .dp),
222+ backgroundColor = Color .LightGray ,
223+ strokeWidth = 2 .dp,
222224 color = MaterialTheme .appColors.primary
223225 )
224226 }
225- IconButton (modifier = iconModifier,
227+ IconButton (
228+ modifier = iconModifier.padding(top = 2 .dp),
226229 onClick = { onDownloadClick(block) }) {
227230 Icon (
228231 imageVector = Icons .Filled .Close ,
You can’t perform that action at this time.
0 commit comments