Add Show Channel Details to Subscription Feed & History
This commit is contained in:
parent
759a078ce0
commit
c248741c00
3 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,7 @@ class StreamStatisticsEntry(
|
|||
val item = StreamInfoItem(streamEntity.serviceId, streamEntity.url, streamEntity.title, streamEntity.streamType)
|
||||
item.duration = streamEntity.duration
|
||||
item.uploaderName = streamEntity.uploader
|
||||
item.uploaderUrl = streamEntity.uploaderUrl
|
||||
item.thumbnailUrl = streamEntity.thumbnailUrl
|
||||
|
||||
return item
|
||||
|
|
|
@ -93,6 +93,7 @@ data class StreamEntity(
|
|||
val item = StreamInfoItem(serviceId, url, title, streamType)
|
||||
item.duration = duration
|
||||
item.uploaderName = uploader
|
||||
item.uploaderUrl = uploaderUrl
|
||||
item.thumbnailUrl = thumbnailUrl
|
||||
|
||||
if (viewCount != null) item.viewCount = viewCount as Long
|
||||
|
|
|
@ -354,6 +354,7 @@ class FeedFragment : BaseStateFragment<FeedState>() {
|
|||
StreamDialogEntry.mark_as_watched
|
||||
)
|
||||
}
|
||||
entries.add(StreamDialogEntry.show_channel_details)
|
||||
|
||||
StreamDialogEntry.setEnabledEntries(entries)
|
||||
InfoItemDialog(activity, item, StreamDialogEntry.getCommands(context)) { _, which ->
|
||||
|
|
Loading…
Reference in a new issue