Fix display mode not updating in source view

(cherry picked from commit 271489bdfd)
This commit is contained in:
arkon
2021-01-16 11:30:27 -05:00
committed by Jobobby04
parent 3340ca83c6
commit d5a912bda2
2 changed files with 18 additions and 10 deletions
@@ -391,7 +391,7 @@ open class BrowseSourceController(bundle: Bundle) :
recycler.setHasFixedSize(true)
recycler.adapter = adapter
binding.catalogueView.addView(recycler)
binding.catalogueView.addView(recycler, 1)
if (oldPosition != RecyclerView.NO_POSITION) {
recycler.layoutManager?.scrollToPosition(oldPosition)