Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Natanel-Shitrit committed Sep 29, 2023
1 parent 1b735e7 commit 26a62f4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class DownloadsFragment : Fragment() {

binding.downloadsRecyclerView.adapter = FavoritesListAdapter(
onItemClickListener = { item -> navigateToMediaItem(item) },
onItemLongClickListener = { item -> playerViewModel.loadPlayerItems(item) }
onItemLongClickListener = { item -> playerViewModel.loadPlayerItems(item) },
)

viewLifecycleOwner.lifecycleScope.launch {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class FavoriteFragment : Fragment() {

binding.favoritesRecyclerView.adapter = FavoritesListAdapter(
onItemClickListener = { item -> navigateToMediaItem(item) },
onItemLongClickListener = { item -> playerViewModel.loadPlayerItems(item) }
onItemLongClickListener = { item -> playerViewModel.loadPlayerItems(item) },
)

viewLifecycleOwner.lifecycleScope.launch {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class LibraryFragment : Fragment() {

binding.itemsRecyclerView.adapter =
ViewItemPagingAdapter(
onClickListener = { item -> navigateToItem(item) },
onClickListener = { item -> navigateToItem(item) },
onLongClickListener = { item -> playerViewModel.loadPlayerItems(item) },
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class SearchResultFragment : Fragment() {

binding.searchResultsRecyclerView.adapter = FavoritesListAdapter(
onItemClickListener = { item -> navigateToMediaItem(item) },
onItemLongClickListener = { item -> playerViewModel.loadPlayerItems(item) }
onItemLongClickListener = { item -> playerViewModel.loadPlayerItems(item) },
)

viewLifecycleOwner.lifecycleScope.launch {
Expand Down

0 comments on commit 26a62f4

Please sign in to comment.