Skip to content

Commit 2f5710a

Browse files
committed
Added TODO's to remove when space is added to the file entity
1 parent 282401c commit 2f5710a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist/MainFileListViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class MainFileListViewModel(
6868
private val getSpaceWithSpecialsByIdForAccountUseCase: GetSpaceWithSpecialsByIdForAccountUseCase,
6969
private val sortFilesWithSyncInfoUseCase: SortFilesWithSyncInfoUseCase,
7070
private val synchronizeFolderUseCase: SynchronizeFolderUseCase,
71-
private val getSpacesFromEveryAccountUseCase: GetSpacesFromEveryAccountUseCase,
71+
private val getSpacesFromEveryAccountUseCase: GetSpacesFromEveryAccountUseCase, // TODO: To be deleted when adding the space to the file entity
7272
private val coroutinesDispatcherProvider: CoroutinesDispatcherProvider,
7373
private val sharedPreferencesProvider: SharedPreferencesProvider,
7474
initialFolderToDisplay: OCFile,

owncloudData/src/main/java/com/owncloud/android/data/spaces/db/SpacesDao.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ interface SpacesDao {
126126
fun deleteSpaceForAccountById(accountName: String, spaceId: String)
127127

128128
companion object {
129+
// TODO: Shares space (last OR) to be deleted from this query when adding the space to the file entity
129130
private const val SELECT_ALL_SPACES = """
130131
SELECT *
131132
FROM ${ProviderMeta.ProviderTableMeta.SPACES_TABLE_NAME}

0 commit comments

Comments
 (0)