Skip to content

Commit 4ce5647

Browse files
FolderPickerActivity: show correct folder
Signed-off-by: tobiasKaminsky <[email protected]>
1 parent 3161b78 commit 4ce5647

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/com/owncloud/android/ui/adapter/helper/OCFileListAdapterHelper.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ class OCFileListAdapterHelper {
3636
userId: String,
3737
onComplete: (List<OCFile>, FileSortOrder) -> Unit
3838
) {
39+
// cancel previous job to not have two jobs running
40+
job?.cancel()
41+
3942
job = scope.launch {
4043
val (sortedList, sortOrder) = prepareFileList(
4144
directory,

0 commit comments

Comments
 (0)