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 17, 2024
1 parent eaec6d0 commit a05472c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a05472c

Please sign in to comment.