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 18, 2024
1 parent 310f357 commit e3141cd
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 e3141cd

Please sign in to comment.