Skip to content

Commit

Permalink
feat: hack not to show space header in "Av. offline" tab
Browse files Browse the repository at this point in the history
  • Loading branch information
JuancaG05 committed Dec 19, 2024
1 parent 999b3a5 commit d96c5d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,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 {
Expand Down

0 comments on commit d96c5d9

Please sign in to comment.