refactor!: rename title field to name
This commit is contained in:
parent
5188527b94
commit
1b94dc1f40
88 changed files with 2142 additions and 2142 deletions
|
|
@ -291,7 +291,7 @@ impl MapResponse<VideoDetails> for response::VideoDetails {
|
|||
.c
|
||||
.into_iter()
|
||||
.map(|item| Chapter {
|
||||
title: item.macro_markers_list_item_renderer.title,
|
||||
name: item.macro_markers_list_item_renderer.title,
|
||||
position: item
|
||||
.macro_markers_list_item_renderer
|
||||
.on_tap
|
||||
|
|
@ -317,7 +317,7 @@ impl MapResponse<VideoDetails> for response::VideoDetails {
|
|||
Ok(MapResult {
|
||||
c: VideoDetails {
|
||||
id: video_id,
|
||||
title,
|
||||
name: title,
|
||||
description,
|
||||
channel: ChannelTag {
|
||||
id: channel_id,
|
||||
|
|
|
|||
Reference in a new issue