fix: video with no view count

This commit is contained in:
ThetaDev 2022-12-29 14:10:32 +01:00
parent f526470b6a
commit 0cbeb0524d
2 changed files with 9 additions and 3 deletions

View file

@ -77,7 +77,7 @@ pub(crate) enum VideoResultsItem {
VideoPrimaryInfoRenderer {
#[serde_as(as = "Text")]
title: String,
view_count: ViewCount,
view_count: Option<ViewCount>,
/// Like/Dislike button
video_actions: VideoActions,
/// Absolute textual date (e.g. `Dec 29, 2019`)