We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c693798 commit f13e556Copy full SHA for f13e556
domain/src/main/java/com/shifthackz/aisdv1/domain/entity/DownloadState.kt
@@ -3,7 +3,7 @@ package com.shifthackz.aisdv1.domain.entity
3
import java.io.File
4
5
sealed interface DownloadState {
6
- object Unknown : DownloadState
+ data object Unknown : DownloadState
7
data class Downloading(val percent: Int = 0) : DownloadState
8
data class Complete(val file: File) : DownloadState
9
data class Error(val error: Throwable) : DownloadState
0 commit comments