Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1358,6 +1358,7 @@ class FileDisplayActivity :
binding.fabMain.setImageResource(R.drawable.ic_plus)
resetScrolling(true)
showSortListGroup(false)
showBottomNavigationBar(true)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tobiasKaminsky should I check what's the popped fragment here? I didn't because, as far as I can see, the default status is for the bottom navigation to be visible. This is similar to what happens to resetScrolling().

supportFragmentManager.popBackStack()
}

Expand Down Expand Up @@ -2768,6 +2769,7 @@ class FileDisplayActivity :
val fragment = PreviewTextFileFragment.create(user, file, searchOpen, searchQuery)
setLeftFragment(fragment, false)
configureToolbarForPreview(file)
showBottomNavigationBar(false)
} else {
val previewIntent = Intent()
previewIntent.putExtra(EXTRA_FILE, file)
Expand Down
Loading