Skip to content

Commit f13e556

Browse files
committed
Update fix
1 parent c693798 commit f13e556

File tree

2 files changed

+189
-195
lines changed

2 files changed

+189
-195
lines changed

domain/src/main/java/com/shifthackz/aisdv1/domain/entity/DownloadState.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package com.shifthackz.aisdv1.domain.entity
33
import java.io.File
44

55
sealed interface DownloadState {
6-
object Unknown : DownloadState
6+
data object Unknown : DownloadState
77
data class Downloading(val percent: Int = 0) : DownloadState
88
data class Complete(val file: File) : DownloadState
99
data class Error(val error: Throwable) : DownloadState

0 commit comments

Comments
 (0)