Do not add Mark as Watched to a live stream.
This commit is contained in:
parent
2b41f710a8
commit
f451bdbfa4
|
@ -331,8 +331,7 @@ class FeedFragment : BaseStateFragment<FeedState>() {
|
|||
StreamDialogEntry.start_here_on_background,
|
||||
StreamDialogEntry.append_playlist,
|
||||
StreamDialogEntry.share,
|
||||
StreamDialogEntry.open_in_browser,
|
||||
StreamDialogEntry.mark_as_watched
|
||||
StreamDialogEntry.open_in_browser
|
||||
)
|
||||
)
|
||||
} else {
|
||||
|
@ -342,11 +341,15 @@ class FeedFragment : BaseStateFragment<FeedState>() {
|
|||
StreamDialogEntry.start_here_on_popup,
|
||||
StreamDialogEntry.append_playlist,
|
||||
StreamDialogEntry.share,
|
||||
StreamDialogEntry.open_in_browser,
|
||||
StreamDialogEntry.mark_as_watched
|
||||
StreamDialogEntry.open_in_browser
|
||||
)
|
||||
)
|
||||
}
|
||||
if (item.streamType != StreamType.AUDIO_LIVE_STREAM && item.streamType != StreamType.LIVE_STREAM) {
|
||||
entries.add(
|
||||
StreamDialogEntry.mark_as_watched
|
||||
)
|
||||
}
|
||||
|
||||
StreamDialogEntry.setEnabledEntries(entries)
|
||||
InfoItemDialog(activity, item, StreamDialogEntry.getCommands(context)) { _, which ->
|
||||
|
|
Loading…
Reference in New Issue