File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
core/src/main/java/org/openedx/core/presentation/dialog/downloaddialog
downloads/src/main/java/org/openedx/downloads/presentation/download Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 11package org.openedx.core.presentation.dialog.downloaddialog
22
33import android.content.res.Configuration
4+ import androidx.compose.material.icons.Icons
5+ import androidx.compose.material.icons.filled.School
46import androidx.compose.runtime.Composable
57import androidx.compose.ui.platform.LocalConfiguration
68import androidx.compose.ui.unit.Dp
@@ -327,7 +329,8 @@ class DownloadDialogManager(
327329 val downloadDialogItems = listOf (
328330 DownloadDialogItem (
329331 title = coursePreview.name,
330- size = coursePreview.totalSize
332+ size = coursePreview.totalSize,
333+ icon = Icons .Default .School
331334 )
332335 )
333336
Original file line number Diff line number Diff line change 11package org.openedx.downloads.presentation.download
22
3+ import androidx.compose.material.icons.Icons
4+ import androidx.compose.material.icons.filled.School
35import androidx.fragment.app.FragmentManager
46import androidx.lifecycle.viewModelScope
57import kotlinx.coroutines.Dispatchers
@@ -262,6 +264,7 @@ class DownloadsViewModel(
262264 val downloadDialogItem = DownloadDialogItem (
263265 title = title,
264266 size = totalSize,
267+ icon = Icons .Default .School
265268 )
266269 downloadDialogManager.showRemoveDownloadModelPopup(
267270 downloadDialogItem = downloadDialogItem,
You can’t perform that action at this time.
0 commit comments