mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 16:30:31 +05:30
Merge pull request #5534 from Bnyro/master
fix: switch back to home bookmarks layout on home screen
This commit is contained in:
commit
be75094d0e
@ -167,7 +167,10 @@ class HomeFragment : Fragment() {
|
|||||||
makeVisible(binding.bookmarksTV, binding.bookmarksRV)
|
makeVisible(binding.bookmarksTV, binding.bookmarksRV)
|
||||||
with (binding.bookmarksRV) {
|
with (binding.bookmarksRV) {
|
||||||
layoutManager = LinearLayoutManager(context, HORIZONTAL, false)
|
layoutManager = LinearLayoutManager(context, HORIZONTAL, false)
|
||||||
adapter = PlaylistBookmarkAdapter(bookmarks.toMutableList())
|
adapter = PlaylistBookmarkAdapter(
|
||||||
|
bookmarks.toMutableList(),
|
||||||
|
PlaylistBookmarkAdapter.Companion.BookmarkMode.HOME
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user