Merge pull request #5534 from Bnyro/master

fix: switch back to home bookmarks layout on home screen
This commit is contained in:
Bnyro 2024-01-22 14:42:44 +01:00 committed by GitHub
commit be75094d0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -167,7 +167,10 @@ class HomeFragment : Fragment() {
makeVisible(binding.bookmarksTV, binding.bookmarksRV)
with (binding.bookmarksRV) {
layoutManager = LinearLayoutManager(context, HORIZONTAL, false)
adapter = PlaylistBookmarkAdapter(bookmarks.toMutableList())
adapter = PlaylistBookmarkAdapter(
bookmarks.toMutableList(),
PlaylistBookmarkAdapter.Companion.BookmarkMode.HOME
)
}
}