From a05472cbaf04040a668743623b1d6e49bfb2a068 Mon Sep 17 00:00:00 2001 From: Juan Carlos Garrote Date: Wed, 27 Nov 2024 12:12:25 +0100 Subject: [PATCH] feat: hack not to show space header in "Av. offline" tab --- .../android/presentation/files/filelist/MainFileListFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist/MainFileListFragment.kt b/owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist/MainFileListFragment.kt index 8395001ea9d..fbc0f85c536 100644 --- a/owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist/MainFileListFragment.kt +++ b/owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist/MainFileListFragment.kt @@ -613,7 +613,7 @@ class MainFileListFragment : Fragment(), fileListUiState.space?.let { binding.spaceHeader.root.apply { - if ((fileListUiState.space.isProject || fileListUiState.space.isPersonal) && fileListUiState.folderToDisplay?.remotePath == ROOT_PATH) { + if ((fileListUiState.space.isProject || fileListUiState.space.isPersonal) && fileListUiState.folderToDisplay?.remotePath == ROOT_PATH && fileListUiState.fileListOption != FileListOption.AV_OFFLINE) { isVisible = true animate().translationY(0f).duration = 100 } else {