Skip to content

Commit

Permalink
Merge pull request #317 from codedbycurtis/master
Browse files Browse the repository at this point in the history
fix(search): added if-null check for playlist video count
  • Loading branch information
Hexer10 authored Dec 10, 2024
2 parents 8932053 + f14328b commit 3ddec6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/reverse_engineering/pages/search_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class _InitialData extends InitialData {
viewModel
.getJson<String>(
'contentImage/collectionThumbnailViewModel/primaryThumbnail/thumbnailViewModel/overlays/0/thumbnailOverlayBadgeViewModel/thumbnailBadges/0/thumbnailBadgeViewModel/text')!
.parseInt()!,
.parseInt() ?? 0,
thumbnails
.map((e) =>
Thumbnail(Uri.parse(e['url']), e['height'], e['width']))
Expand Down

0 comments on commit 3ddec6f

Please sign in to comment.