diff --git a/core/src/main/java/org/kiwix/kiwixmobile/core/dao/entities/DownloadRoomEntity.kt b/core/src/main/java/org/kiwix/kiwixmobile/core/dao/entities/DownloadRoomEntity.kt index 9ce3e93ea4..dff17d8740 100644 --- a/core/src/main/java/org/kiwix/kiwixmobile/core/dao/entities/DownloadRoomEntity.kt +++ b/core/src/main/java/org/kiwix/kiwixmobile/core/dao/entities/DownloadRoomEntity.kt @@ -100,7 +100,8 @@ data class DownloadRoomEntity( totalSizeOfDownload = download.totalSizeOfDownload, status = download.state, error = download.error, - progress = download.progress + progress = download.progress, + pausedByUser = download.pausedByUser ) } diff --git a/core/src/sharedTestFunctions/java/org/kiwix/sharedFunctions/TestModelFunctions.kt b/core/src/sharedTestFunctions/java/org/kiwix/sharedFunctions/TestModelFunctions.kt index a8fae21a4b..e6955b2757 100644 --- a/core/src/sharedTestFunctions/java/org/kiwix/sharedFunctions/TestModelFunctions.kt +++ b/core/src/sharedTestFunctions/java/org/kiwix/sharedFunctions/TestModelFunctions.kt @@ -58,7 +58,7 @@ fun downloadModel( book: Book = book() ) = DownloadModel( databaseId, downloadId, file, etaInMilliSeconds, bytesDownloaded, totalSizeOfDownload, - status, error, progress, book + status, error, progress, book, false ) fun downloadItem(