Skip to content
Merged
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 @@ -213,6 +213,8 @@ class GalleryFragment :
}

override fun setAdapter(args: Bundle?) {
(recyclerView as? EmptyRecyclerView)?.setHasFooter(false)

galleryAdapter = GalleryAdapter(
requireContext(),
accountManager.user,
Expand All @@ -226,11 +228,6 @@ class GalleryFragment :
galleryAdapter?.setHasStableIds(true)
setRecyclerViewAdapter(galleryAdapter)

// update the footer as there is no footer shown in media view
if (recyclerView is EmptyRecyclerView) {
(recyclerView as EmptyRecyclerView).setHasFooter(false)
}

binding?.paginationProgress?.let {
viewThemeUtils.platform.colorCircularProgressBar(it, ColorRole.PRIMARY)
}
Expand Down
Loading