File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/src/main/java/com/raival/compose/file/explorer/screen/main/tab/files/ui/dialog Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ import com.raival.compose.file.explorer.screen.main.tab.files.task.CompressTask
7979import com.raival.compose.file.explorer.screen.main.tab.files.task.CopyTask
8080import com.raival.compose.file.explorer.screen.main.tab.files.task.CopyTaskParameters
8181import com.raival.compose.file.explorer.screen.main.tab.files.task.Task
82+ import com.raival.compose.file.explorer.screen.main.tab.files.task.TaskStatus
8283import kotlinx.coroutines.CoroutineScope
8384import kotlinx.coroutines.Dispatchers
8485import kotlinx.coroutines.SupervisorJob
@@ -673,7 +674,7 @@ private fun TaskItem(
673674 exit = scaleOut(targetScale = 0.5f ) + slideOutVertically { - it / 4 } + fadeOut()
674675 ) {
675676 Text (
676- text = task.metadata.displayDetails,
677+ text = if (task.progressMonitor.status == TaskStatus . FAILED ) task.progressMonitor.summary else task.metadata.displayDetails,
677678 style = MaterialTheme .typography.bodySmall,
678679 color = MaterialTheme .colorScheme.onSurfaceVariant.copy(alpha = 0.5f ),
679680 maxLines = 3
You can’t perform that action at this time.
0 commit comments