Skip to content

Commit 5aed659

Browse files
committed
Import missing dependencies after rebasing
1 parent 6ea3972 commit 5aed659

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

owncloudApp/src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ class FileDataStorageManager : KoinComponent {
434434
// }
435435
// }
436436

437-
// FIXME: 13/10/2020 : New_arch: Conflicts
437+
// TODO: To be removed
438438
fun saveConflict(file: OCFile, eTagInConflictFromParameter: String?) {
439439
// var eTagInConflict = eTagInConflictFromParameter
440440
// if (!file.isDown) {

owncloudApp/src/main/java/com/owncloud/android/presentation/viewmodels/conflicts/ConflictsResolveViewModel.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,14 @@ package com.owncloud.android.presentation.viewmodels.conflicts
2323
import androidx.lifecycle.ViewModel
2424
import androidx.lifecycle.viewModelScope
2525
import com.owncloud.android.domain.files.model.OCFile
26+
import com.owncloud.android.domain.files.usecases.GetFileByIdAsStreamUseCase
2627
import com.owncloud.android.providers.CoroutinesDispatcherProvider
2728
import com.owncloud.android.usecases.transfers.downloads.DownloadFileUseCase
2829
import com.owncloud.android.usecases.transfers.uploads.UploadFileInConflictUseCase
2930
import com.owncloud.android.usecases.transfers.uploads.UploadFilesFromSystemUseCase
31+
import kotlinx.coroutines.flow.SharingStarted
32+
import kotlinx.coroutines.flow.StateFlow
33+
import kotlinx.coroutines.flow.stateIn
3034
import kotlinx.coroutines.launch
3135

3236
class ConflictsResolveViewModel(

0 commit comments

Comments
 (0)