Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,7 @@ class SwissTransferInjection(
UploadV2Manager(
accountManager = accountManager,
uploadRepository = uploadV2Repository,
transferManager = transferManager,
appDatabase = appDatabase,
uploadDao = appDatabase.getUploadDao(),
transferDao = appDatabase.getTransferDao(),
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ import kotlin.coroutines.cancellation.CancellationException
* This class handles the initialization, progress, and completion of uploads,
* interacting with the database and the network repository.
*
* @property accountManager A manager used to orchestrate Accounts operations.
* @property uploadRepository The repository for interacting with the SwissTransfer API for uploads.
* @property transferManager Transfer operations
* @property appDatabase The provider for managing Room database operations.
* @property transferDao The DAO for performing database operations on transfers.
*/
class UploadV2Manager(
private val accountManager: AccountManager,
private val uploadRepository: UploadV2Repository,
private val transferManager: TransferManager,
private val appDatabase: AppDatabase,
private val uploadDao: UploadDao,
private val transferDao: TransferDao,
) {

Comment thread
valentinperignon marked this conversation as resolved.
Expand Down
Loading