Skip to content

Commit

Permalink
Allow null backdrop (#20)
Browse files Browse the repository at this point in the history
Not all movies have a backdrop.
  • Loading branch information
julioromano authored Mar 17, 2023
1 parent 0cc6eae commit 9a8eae6
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 @@ -7,7 +7,7 @@ public data class Movie(
val id: Long,
val title: String,
val poster_path: String,
val backdrop_path: String,
val backdrop_path: String?,
val overview: String,
val vote_average: Double,
val popularity: Double,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal data class MovieState(
val subtitle: String,
val tagline: String,
val posterPath: String,
val backdropPath: String,
val backdropPath: String?,
val overview: String,
val userScore: Int,
val releaseDate: String,
Expand Down

0 comments on commit 9a8eae6

Please sign in to comment.