Skip to content

Commit

Permalink
OverviewFragment: do not display no spoiler warning if there is no image
Browse files Browse the repository at this point in the history
  • Loading branch information
UweTrottmann committed Oct 4, 2024
1 parent 9edce1a commit 00f26db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Releases marked with 🧪 (or previously with the "beta" suffix) were released o
* 🔧 Display more options of list items on touch and hold and right click (for example in Samsung
Dex) as well.
* 🔧 Where touch and hold copies text, support right click to copy as well.
* 🔨 Show overview: do not display no spoiler warning if there is no image.

### 2024.4.3 - 2024-09-13 🧪

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ class OverviewFragment() : Fragment(), EpisodeActionsContract {
private fun loadEpisodeImage(imageView: ImageView, detailsHiddenView: View, imagePath: String?) {
if (imagePath.isNullOrEmpty()) {
imageView.setImageDrawable(null)
detailsHiddenView.isGone = true
return
}

Expand Down

0 comments on commit 00f26db

Please sign in to comment.