Skip to content

Commit

Permalink
Fix NPE when showing Episode Details
Browse files Browse the repository at this point in the history
  • Loading branch information
kingargyle committed Nov 27, 2018
1 parent 8914c51 commit a1d2398
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ class ImageInfographicUtils(private val width: Int, private val height: Int) : B
return v
}

fun createStudioImage(studio: String?, context: Context, identifier: String): ImageView? {
if (studio == null) {
fun createStudioImage(studio: String?, context: Context, identifier: String?): ImageView? {
if (studio == null || identifier == null) {
return null
}

Expand Down

0 comments on commit a1d2398

Please sign in to comment.