Skip to content

Commit

Permalink
ImageTools: add parameter names for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
UweTrottmann committed Nov 21, 2024
1 parent 5ba17b1 commit 75dbb5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ class EpisodeDetailsFragment : Fragment(), EpisodeActionsContract {
val intent = intent(
requireContext(),
ImageTools.buildEpisodeImageUrl(imagePath, requireContext()),
ImageTools.buildEpisodeImageUrl(imagePath, requireContext(), true)
ImageTools.buildEpisodeImageUrl(imagePath, requireContext(), originalSize = true)
)
Utils.startActivityWithAnimation(requireActivity(), intent, v)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ImageToolsTest {
ImageTools.buildEpisodeImageUrl(path, context)
},
tmdbUrlOriginalBuilder = { path ->
ImageTools.buildEpisodeImageUrl(path, context, true)
ImageTools.buildEpisodeImageUrl(path, context, originalSize = true)
},
tvdbUrlBuilder = { path ->
ImageTools.buildEpisodeImageUrl(path, context)
Expand Down

0 comments on commit 75dbb5d

Please sign in to comment.